Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix panic when unsealing a value too short for a crypto box #217

Merged

Conversation

andrewwhitehead
Copy link
Contributor

Fixes #213

Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
@TimoGlastra TimoGlastra merged commit 78ed2f1 into openwallet-foundation:main Jan 25, 2024
28 checks passed
jamshale pushed a commit to jamshale/askar that referenced this pull request Aug 18, 2024
…et-foundation#217)

* fix panic unsealing a value too short for a crypto box

Signed-off-by: Andrew Whitehead <cywolf@gmail.com>

* test crypto box error cases

Signed-off-by: Andrew Whitehead <cywolf@gmail.com>

---------

Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
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.

Error handling in crypto box
2 participants