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

Catch panic in go's crypto code #144

Closed
quexten opened this issue Mar 17, 2024 · 0 comments
Closed

Catch panic in go's crypto code #144

quexten opened this issue Mar 17, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@quexten
Copy link
Owner

quexten commented Mar 17, 2024

Go's CBC crypto code throws panics if the crypto blocks are wrong. Sadly, in contrast to other APIs, no error is returned. We should make a safe wrapper for this that catches the error, and reports it correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant