feat: MimeMessage: Put intended recipient fingerprints into signature

This commit is contained in:
iequidoo
2026-01-23 10:45:29 -03:00
committed by iequidoo
parent f4ee01ecca
commit 7c55356271
4 changed files with 42 additions and 16 deletions

View File

@@ -784,7 +784,7 @@ fn encrypted_and_signed(
mimeparser: &MimeMessage,
expected_fingerprint: &Fingerprint,
) -> bool {
if let Some(signature) = mimeparser.signature.as_ref() {
if let Some((signature, _)) = mimeparser.signature.as_ref() {
if signature == expected_fingerprint {
true
} else {