[GH-ISSUE #2032] raw SHA-1 output format #1366

Closed
opened 2026-10-14 03:46:08 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @magnumripper on GitHub (Feb 9, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2032

Our current SHA-1 code unifies all pot entries to Base64 (since 25092e1), which is different from latest release. I think a change like that need to be discussed on john-users first, we may want to unify to hex instead.

Originally created by @magnumripper on GitHub (Feb 9, 2016). Original GitHub issue: https://github.com/openwall/john/issues/2032 Our current SHA-1 code unifies all pot entries to Base64 (since 25092e1), which is different from latest release. I think a change like that need to be discussed on john-users first, we may want to unify to hex instead.
bsakaguchi 2026-10-14 03:46:08 +07:00
Author
Owner

@frank-dittrich commented on GitHub (Feb 9, 2016):

Didn't test this right now. But if the old hex format is still valid, and pot file lines with hex encoding are not ignored, I think such a change could be acceptable. I agree this should be discussed on john-users.

<!-- gh-comment-id:181755532 --> @frank-dittrich commented on GitHub (Feb 9, 2016): Didn't test this right now. But if the old hex format is still valid, and pot file lines with hex encoding are not ignored, I think such a change could be acceptable. I agree this should be discussed on john-users.
Author
Owner

@magnumripper commented on GitHub (Feb 9, 2016):

Old entries are supposedly parsed OK, so no conversion of old pots are needed. Still, I'd like folks to have a chance to comment before a change like that (I'm personally fine with it).

We should also verify that loading of eg. 100M hashes isn't busted by this, memory or performance wise.

<!-- gh-comment-id:181911733 --> @magnumripper commented on GitHub (Feb 9, 2016): Old entries are supposedly parsed OK, so no conversion of old pots are needed. Still, I'd like folks to have a chance to comment before a change like that (I'm personally fine with it). We should also verify that loading of eg. 100M hashes isn't busted by this, memory or performance wise.
Author
Owner

@magnumripper commented on GitHub (Nov 10, 2016):

I reverted this in 934794f since there were several problems. We now unify to hex.

<!-- gh-comment-id:259823125 --> @magnumripper commented on GitHub (Nov 10, 2016): I reverted this in 934794f since there were several problems. We now unify to hex.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1366
No description provided.