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

Internal calls to secretbox_* functions should have their exceptions wrapped #10

Open
g105b opened this issue Jul 22, 2022 · 0 comments

Comments

@g105b
Copy link
Member

g105b commented Jul 22, 2022

For developer experience, I don't want to see SODIUM_CRYPTO_SECRETBOX exception messages. The most common exception I can generate as a developer is passing a key with the wrong number of bytes.

This should be wrapped by a friendly exception message that explains the number of bytes was wrong.

g105b added a commit that referenced this issue Jul 22, 2022
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

No branches or pull requests

1 participant