Skip to content

guard nil issuer key id when checking trailing signature - #320

Merged
twiss merged 1 commit into
ProtonMail:mainfrom
knQzx:guard-nil-issuer-trailing-sig
Aug 13, 2026
Merged

twiss merged 1 commit into
ProtonMail:mainfrom
knQzx:guard-nil-issuer-trailing-sig

Conversation

@knQzx

@knQzx knQzx commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

The trailing-signature check dereferences the issuer key id without a nil check, so a crafted message can panic. This short-circuits when the issuer key id is absent.

@twiss twiss left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@twiss
twiss merged commit 4fa2a8d into ProtonMail:main Aug 13, 2026
9 checks passed
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