mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-23 08:32:45 -05:00
[PR #2945] [MERGED] Limit Cipher Note encrypted string size #3056
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/2945
Author: @BlackDex
Created: 12/2/2022
Status: ✅ Merged
Merged: 12/4/2022
Merged by: @dani-garcia
Base:
main← Head:issue-2937📝 Commits (1)
7f11363Limit Cipher Note encrypted string size📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
src/api/core/ciphers.rs(+6 -0)📄 Description
As discussed in #2937, this will limit the amount of encrypted characters to 10.000 characters, same as Bitwarden. This will not break current ciphers which exceed this limit, but it will prevent those ciphers from being updated.
Fixes #2937
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.