Skip to content

prevent IV collisions for awskms#128

Merged
bincyber merged 1 commit into
bincyber:masterfrom
takeyourhatoff:ivreuse
Apr 4, 2026
Merged

prevent IV collisions for awskms#128
bincyber merged 1 commit into
bincyber:masterfrom
takeyourhatoff:ivreuse

Conversation

@takeyourhatoff
Copy link
Copy Markdown

This PR partially fixes #127. It prevents the possibility of an IV collision when using the awskms provider. The aesgcm provider remains vulnerable.

This change switches from a random IV to a counter-based IV in a backward-compatible way for the awskms provider in order to mitigate the risk of an IV collision.

@bincyber
Copy link
Copy Markdown
Owner

bincyber commented Apr 4, 2026

Thanks for the contribution @takeyourhatoff and apologies for the long delay 😅

@bincyber bincyber merged commit a6c92d1 into bincyber:master Apr 4, 2026
4 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.

IV collision risk

2 participants