Daniel García
3 years ago
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
1 changed files with
6 additions and
0 deletions
-
src/api/core/ciphers.rs
|
|
@ -366,6 +366,12 @@ pub async fn update_cipher_from_data( |
|
|
|
err!("Organization mismatch. Please resync the client before updating the cipher") |
|
|
|
} |
|
|
|
|
|
|
|
if let Some(note) = &data.Notes { |
|
|
|
if note.len() > 10_000 { |
|
|
|
err!("The field Notes exceeds the maximum encrypted value length of 10000 characters.") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Check if this cipher is being transferred from a personal to an organization vault
|
|
|
|
let transfer_cipher = cipher.organization_uuid.is_none() && data.OrganizationId.is_some(); |
|
|
|
|
|
|
|