mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-31 03:06:48 +02:00
Support blob-encrypted ciphers and match upstream's key id checks
This commit is contained in:
6 files changed
+305
-152
No files matched your search
@@ -1891,7 +1891,7 @@ async fn post_org_import(
|
||||
cipher_data.folder_id = None;
|
||||
// Replace the client-provided, unvalidated organizationId with the real target org
|
||||
cipher_data.organization_id = Some(org_id.clone());
|
||||
let mut cipher = Cipher::new(cipher_data.r#type, cipher_data.name.clone());
|
||||
let mut cipher = Cipher::new(cipher_data.r#type, String::new());
|
||||
update_cipher_from_data(
|
||||
&mut cipher,
|
||||
cipher_data,
|
||||
|
||||
Reference in new issue
Block a user