Skip to content

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented Aug 16, 2025

Messages are normally not signed with more than one key and in this case we pick an arbitrary signature later anyway.

Messages are normally not signed with more than one key
and in this case we pick an arbitrary signature later anyway.
@link2xt link2xt force-pushed the link2xt/wzolsymnknrz branch from 67149fb to 165d785 Compare August 16, 2025 23:59
@@ -571,7 +571,7 @@ impl MimeMessage {
decrypting_failed: mail.is_err(),

// only non-empty if it was a valid autocrypt message
signatures,
signature: signatures.into_iter().next(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we must take the innermost signature because in merge_headers() we prefer protected headers from the inner part (we drop outer protected headers at all).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants