-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Regression in at_hash behavior from Version 0.10.1 #45
Comments
https://www.rfc-editor.org/rfc/rfc4648#section-3.2 Read together with that, it seems like the spec is clear. Padding is always required. EDIT: lol - https://github.com/marshallpierce/rust-base64#i-want-canonical-base64-encodingdecoding |
As change in the behavior was not intended, I consider this as regression. |
Thank you! I had been meaning to get around to this but we have an upstream patch so it was not pressing. |
In the upgrade from base64 from 0.13 to 0.21 the behavior was lost where both unpadded or correctly padded strings were accepted. I am using
dex
which is currently sending me unpadded strings. I have not checked if this behavior is allowed as per the spec or not.The text was updated successfully, but these errors were encountered: