mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-06 13:28:36 +02:00
Support blob-encrypted ciphers and match upstream's key id checks
This commit is contained in:
11 files changed
+364
-146
No files matched your search
@@ -1866,7 +1866,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);
|
||||
update_cipher_from_data(
|
||||
&mut cipher,
|
||||
cipher_data,
|
||||
|
||||
Reference in new issue
Block a user