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

Misleading error message about key id instead of key bytes #22

Closed
taladar opened this issue Apr 24, 2024 · 1 comment · Fixed by #23
Closed

Misleading error message about key id instead of key bytes #22

taladar opened this issue Apr 24, 2024 · 1 comment · Fixed by #23

Comments

@taladar
Copy link

taladar commented Apr 24, 2024

In

https://docs.rs/cryptr/latest/src/cryptr/keys.rs.html#226

the error message from a few lines lower seems to be duplicated (error about the key id) even though the condition refers to the length of the key bytes which is the base64 decoded part after the / in ENC_KEYS.

@sebadob
Copy link
Owner

sebadob commented Apr 24, 2024

Oh you are right. Thanks! I will fix that.

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 a pull request may close this issue.

2 participants