fix: Don't enable legacy decryption options

Follow-up to https://github.com/chatmail/core/pull/7226/; I believe that
this was enabled by accident? Previously, we had `allow_legacy: false`.
This commit is contained in:
Hocuri
2025-10-01 13:37:28 +02:00
committed by l
parent 1b1757ebf2
commit 5adc68cf0b

View File

@@ -245,7 +245,7 @@ pub fn pk_decrypt(
let skeys: Vec<&SignedSecretKey> = private_keys_for_decryption.iter().collect();
let empty_pw = Password::empty();
let decrypt_options = DecryptionOptions::new().enable_legacy();
let decrypt_options = DecryptionOptions::new();
let ring = TheRing {
secret_keys: skeys,
key_passwords: vec![&empty_pw],