Support blob-encrypted ciphers and match upstream's key id checks

This commit is contained in:
Daniel García committed 2026-09-24 00:53:31 +02:00
1 parent 32098ca7d1
commit 3ac3709d17
6 files changed
+305 -152

No files matched your search

+1 -1
View File
@@ -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,