Skip to content

Fix panics on wrong nonce or tag length in AEAD decrypt implementation#227

Merged
robin-nitrokey merged 1 commit into
mainfrom
aead-arrays
Jun 2, 2026
Merged

Fix panics on wrong nonce or tag length in AEAD decrypt implementation#227
robin-nitrokey merged 1 commit into
mainfrom
aead-arrays

Conversation

@robin-nitrokey
Copy link
Copy Markdown
Member

Unfortunately all GenericArray constructors are panicking in v0.14 so we have to manually check the length.

@robin-nitrokey robin-nitrokey merged commit c9a8522 into main Jun 2, 2026
3 checks passed
@robin-nitrokey robin-nitrokey deleted the aead-arrays branch June 2, 2026 11:48
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