mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1518] Invalid signature line trying to link to dynamic format #989
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#989
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 (Jul 8, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1518
Originally assigned to: @jfoug on GitHub.
Tested on super
With --test=0, the next format after nk is
@magnumripper commented on GitHub (Jul 8, 2015):
Doesn't happen on my gear. Is this only when using "--make_check"? I've never used that option before.
@magnumripper commented on GitHub (Jul 8, 2015):
I lied, it does happen here.
@magnumripper commented on GitHub (Jul 8, 2015):
...and yes, it only happens with
--make_check. So what is special about that option? Why does it even exist?@frank-dittrich commented on GitHub (Jul 8, 2015):
It is a core option to verify builds, it is not even listed as an option. I remembered it when I compared Makefile.in and Makefile.legacy's check target.
@magnumripper commented on GitHub (Jul 8, 2015):
It replaces argv with
--test=0But here's a big difference:john.c:1237 (john_init)
So it doesn't initialize config. I'm surprised it works as well as it does. I think we can ignore this. Or perhaps ask Solar what is supposed to happen.
@frank-dittrich commented on GitHub (Jul 8, 2015):
Yes, it fails on the first thin format which is linked to a dynamic format from a config file.
I think it is not worth the effort to address this.
(I wouldn't want to read the config for --make_check.)
I'll keep the issue open for a while, may be I find an easy way which doesn't involve messing with a lot of @jfoug's code.
@ksimka commented on GitHub (Nov 14, 2015):
I have the same issue, but in runtime, not while doing make.
If you need any additional info - just ask.
@magnumripper commented on GitHub (Nov 14, 2015):
@ksimka is that with latest code from here?
@frank-dittrich commented on GitHub (Nov 14, 2015):
@magnumripper Why would you think the "issue" is gone with latest bleeding-jumbo?
I think an end user isn't supposed to run
./john --make_check, since that option isn't mentioned in john's usage output or --list=hidden-options output..@magnumripper commented on GitHub (Nov 14, 2015):
I was just asking in case he was running J1 or something like that since I can't reproduce. And @ksimka wasn't running -make-check but some totally normal command.
@ksimka what if you try
./run/john --format=dynamic-all -pot=test.pot some_passwdwith "test.pot" being some non-existing file - does the problem go away?@ksimka commented on GitHub (Nov 15, 2015):
@magnumripper
Yes.
Sounds weird, but yes, it's not reproduced anymore. I mean, once running that command with -pot now john is running without it.
Must be I changed something, cause I don't believe in magic.
@magnumripper commented on GitHub (Nov 15, 2015):
Wow, I wasn't expecting it to go away for good, just for that run. I suppose something in your normal john.pot file triggered it.
@jfoug commented on GitHub (Nov 16, 2015):
I am unable to replicate this bug at all. Well, I can for --make_check. That one is SUPER easy to see why. We never load config for a make_check (reason for this is NOT obvious).
But I have tried sprinkling a lot of different hash signatures into a .pot file, and an input file, and I have not been able to get this to fail with --format=dynamic-all
@magnumripper commented on GitHub (Nov 16, 2015):
Well he says he can't reproduce it anymore so let's consider it some kind of PEBCAK (no offense, just a label 😉 ).
@magnumripper commented on GitHub (Nov 16, 2015):
BTW I consider the original
-make-checkissue a non-issue since that option is not documented anywhere. Perhaps we should even actually disable it completely in Jumbo.@frank-dittrich commented on GitHub (Nov 17, 2015):
What if you replace dynamic.conf with an empty file?
That would still be PEBKAC, but may be the error message could be improved?