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 loading secret keys of invalid length #351

Merged

Conversation

andrewwhitehead
Copy link
Contributor

This fix affects the loading of k256, p256, and p384 secret keys. If a key of the wrong length was passed then a panic would occur rather than returning an error.

Also fixes a few clippy warnings and updates the package versions for a new release.

@andrewwhitehead andrewwhitehead merged commit d399c75 into openwallet-foundation:main Jan 24, 2025
28 checks passed
@andrewwhitehead andrewwhitehead deleted the fix/key-load-fail branch January 24, 2025 22:13
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