Skip to content

Dilithium: don't accept signatures with trailing data - #632

Merged
bwesterb merged 1 commit into
mainfrom
bas/gw2
Jul 14, 2026
Merged

Dilithium: don't accept signatures with trailing data#632
bwesterb merged 1 commit into
mainfrom
bas/gw2

Conversation

@bwesterb

@bwesterb bwesterb commented Jul 14, 2026

Copy link
Copy Markdown
Member

It was a somewhat misguided but intentional decision to accept signatures with trailing data, leaving the check to the caller. This was not documented and caused (mostly AI) confusion. Be more strict.

ML-DSA was never affected.


Open in Devin Review

It was a somewhat misguided but intentional decision to accept
signatures with trailing data, leaving the check to the caller. This was
not documented and caused (mostly AI) confusion. Be more strict.

ML-DSA was never affected.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@bwesterb
bwesterb merged commit 8cf5d8c into main Jul 14, 2026
14 checks passed
@bwesterb
bwesterb deleted the bas/gw2 branch July 14, 2026 16:39
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