-
Notifications
You must be signed in to change notification settings - Fork 419
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
Claimed issue with spec #183
Comments
It looks like they are correct. Compare the comment here: https://github.com/P-H-C/phc-winner-argon2/blob/master/src/core.c#L187-L189 to the spec on Page 7. There's a difference here. My guess would be that the second part of the |
Great catch! Indeed it is an implementation bug, dating back to the very first implementation at Jan 2015. But since it is non-critical, we'll probably fix it only in the new version of Argon2, whenever it appears. The spec will be fixed soon. |
As long as it doesn't affect security, I'd highly suggest trying focus on stability. |
Just here to say I was the one who reported the bug on Reddit (I finally had to get that GitHub account). Thanks for forwarding it here! |
Err, I'm sorry, did you close this by mistake? I've just checked the PDF, and as far as I can tell, it still doesn't accurately describe the reference implementation. From page 7, (§3.3 Indexing):
If I read it correctly, item (1) is mistaken. The reference implementation does something different:
Though that sounds convoluted. Here's a more procedural formulation:
Having a discrepancy between the specs and the reference implementation causes serious confusion when we try to implement Argon2 independently. I suffered this confusion back in 2017. I expect other people will suffer the same. I strongly believe this issue should remain open until the specs are amended (possibly with a note indicated the difference between the original intent and what we ended up having), and the PDF re-generated. |
Hi,
A concern has been raised here regarding a spec issue:
https://www.reddit.com/r/crypto/comments/5m8f32/found_a_small_error_in_argon2_spec/
I've logged this for the person who made the post, as they are not on GitHub.
The text was updated successfully, but these errors were encountered: