0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-06-11 08:29:00 +02:00
bitwarden_rs/src
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
..
api Fix failing large note imports 2023-01-09 19:11:58 +01:00
db Fix failing large note imports 2023-01-09 19:11:58 +01:00
static Removed unsafe-inline JS from CSP and other fixes 2023-01-09 18:25:35 +01:00
auth.rs Fix recover-2fa not working. 2022-12-18 20:32:06 +01:00
config.rs Optimize config loading messages 2023-01-09 18:25:36 +01:00
crypto.rs Remove get_random_64() 2022-11-13 10:03:06 +01:00
error.rs Cleanups and Fixes for Emergency Access 2022-12-04 23:17:48 +01:00
mail.rs Percent-encode org_name in links 2023-01-03 12:51:44 +01:00
main.rs Remove ctrlc crate and some updates 2022-12-12 22:56:10 +01:00
ratelimit.rs Basic ratelimit for user login (including 2FA) and admin login 2021-12-22 21:48:49 +01:00
util.rs Removed unsafe-inline JS from CSP and other fixes 2023-01-09 18:25:35 +01:00