1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-06-18 01:10:09 +00:00
vaultwarden/src/db
BlackDex 6be26f0a38
Fix failing large note imports
When importing to Vaultwarden (or Bitwarden) notes larger then 10_000
encrypted characters are invalid. This because it for one isn't
compatible with Bitwarden. And some clients tend to break on very large
notes.

We already added a check for this limit when adding a single cipher, but
this caused issues during import, and could cause a partial imported
vault. Bitwarden does some validations before actually running it
through the import process and generates a special error message which
helps the user indicate which items are invalid during the import.

This PR adds that validation check and returns the same kind of error.
Fixes #3048
2023-01-09 19:11:58 +01:00
..
models Fix failing large note imports 2023-01-09 19:11:58 +01:00
schemas Add Organizational event logging feature 2022-11-27 23:36:34 +01:00
mod.rs Cleanups and Fixes for Emergency Access 2022-12-04 23:17:48 +01:00