-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Consider switching to paragonie/constant_time_encoding #80
Comments
Hi @larowlan, This is a very interesting report. I will change both v8 and v9 branches in favor of this dependency. Thanks. |
Thanks, let me know if you want help, happy to work on it if you're in support of the change |
Done for both v8.3 and v9.0 branches. Minimal versions to use are:
Thanks for the report. |
The base 32 encoding library used by this project doesn't claim to protect against timing attacks.
It uses substr and strlen, which as per http://blog.ircmaxell.com/2014/11/its-all-about-time.html are not timing safe.
https://github.com/paragonie/constant_time_encoding is designed to prevent timing attacks
If you're interested in this change, could poke at it some.
The text was updated successfully, but these errors were encountered: