mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2229] Argon2d/i cleanup #1491
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1491
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @frank-dittrich on GitHub (Aug 22, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2229
There are still some diagnostics printed with default verbosity:
argon2d_fmt_plug.c and argon2i_fmt_plug.c ar both executable.
Looking at the diff or at the similarities between argon2d_fmt_plug.c and argon2i_fmt_plug.c, I think some more stuff can be moved to a common file, e.g. argon2_core_plug.c.
Those argon2 specific functions defined in argon2_core_plug.c etc. should be renamed, using a prefix argon2_ or similar, to avoid polluting the global name space (and possible future name collisions with core).
@magnumripper commented on GitHub (Aug 22, 2016):
The "memory per hash" is gone with
7ec4a732, no? I don't get that output here (beware of john-local.conf).I agree with the rest.
@frank-dittrich commented on GitHub (Aug 22, 2016):
My fault.
Confirmed. With --verbosity=3 added, the output is gone.
@jfoug commented on GitHub (Aug 23, 2016):
I am working on this. 4. is being handled by simply making a single format that handles both type d and type i. There is no notable differences within the formats. Why have 2.
@jfoug commented on GitHub (Aug 23, 2016):
If you can spot any other cleanup issues, please post, but I think this format(s) is now cleaned up when viewed from 'outside' (i.e. not trying to change any of the algorithms or original coding intentions).
@magnumripper commented on GitHub (Aug 23, 2016):
Isn't argon2i_fmt_plug.c supposed to be deleted? And if not, it still has exec bit set.
@jfoug commented on GitHub (Aug 23, 2016):
It was deleted. Did the push not get it removed??? I had a damn merge conflict due to your changes (the VERB_LEGACY stuff). But in the end, my commit did show that argon2i_fmt_plug.c was deleted, and argon2d_fmt_plug.c renamed to argon2_fmt_plug.c
After a git pull, you are still seeing the argon2i_fmt_plug.c file?
@jfoug commented on GitHub (Aug 23, 2016):
Removed. I had to add it again, then push. Should be gone now (I hope).
@magnumripper commented on GitHub (Aug 23, 2016):
Sure. You can see in
5a7cc9fthat it's not deleted (or even mentioned in that commit).@magnumripper commented on GitHub (Aug 23, 2016):
Yeah, now it's gone.