[GH-ISSUE #1004] Add new format struct stuff to --list=format-[all-]details/methods #606

Closed
opened 2026-10-14 03:15:10 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @magnumripper on GitHub (Jan 7, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1004

Originally assigned to: @magnumripper on GitHub.

  • Add plaintext_min_length output
  • For salt_compare I guess the output should be something like yes/no
  • Ensure we list FMT_MAIN_VERSION in --list=build-info
Originally created by @magnumripper on GitHub (Jan 7, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1004 Originally assigned to: @magnumripper on GitHub. - [x] Add plaintext_min_length output - [x] For salt_compare I guess the output should be something like yes/no - [x] Ensure we list FMT_MAIN_VERSION in --list=build-info
bsakaguchi 2026-10-14 03:15:10 +07:00
Author
Owner

@magnumripper commented on GitHub (Jan 7, 2015):

https://github.com/magnumripper/JohnTheRipper/issues/996#issuecomment-68641578:

Do we put the output of the min. length next to the max length output in llist=format-(all-)details, or do we put it close to the end, to reduce the risk of breaking some scripts users might have created?

Good question. I have no indications anyone uses --list in a way that would break - but I still think we should add it to the end.

<!-- gh-comment-id:68958447 --> @magnumripper commented on GitHub (Jan 7, 2015): https://github.com/magnumripper/JohnTheRipper/issues/996#issuecomment-68641578: > Do we put the output of the min. length next to the max length output in llist=format-(all-)details, or do we put it close to the end, to reduce the risk of breaking some scripts users might have created? Good question. I have no indications anyone uses --list in a way that would break - but I still think we should add it to the end.
Author
Owner

@frank-dittrich commented on GitHub (Jan 7, 2015):

Before or after the (possibly truncated) ciphertext example?
Both could break existing scripts.
But I think most people who are interested in test hashes would use --list=format-tests instead of --list=format-(all-)details.

<!-- gh-comment-id:68958759 --> @frank-dittrich commented on GitHub (Jan 7, 2015): Before or after the (possibly truncated) ciphertext example? Both could break existing scripts. But I think most people who are interested in test hashes would use --list=format-tests instead of --list=format-(all-)details.
Author
Owner

@magnumripper commented on GitHub (Jan 7, 2015):

The test vectors need to stay last row/column forever considering the potential length of a ciphertext.

<!-- gh-comment-id:68959015 --> @magnumripper commented on GitHub (Jan 7, 2015): The test vectors need to stay last row/column forever considering the potential length of a ciphertext.
Author
Owner

@magnumripper commented on GitHub (Jan 7, 2015):

Hmm it would really look nicer to put it before max length... I think I might actually go with that. Hey, do we have any --list command that shows you FMT_MAIN_VERSION? We should!

<!-- gh-comment-id:68959135 --> @magnumripper commented on GitHub (Jan 7, 2015): Hmm it would really look nicer to put it before max length... I think I might actually go with that. Hey, do we have any --list command that shows you FMT_MAIN_VERSION? We should!
Author
Owner

@frank-dittrich commented on GitHub (Jan 7, 2015):

--list=build-info should show the format version.

<!-- gh-comment-id:68959516 --> @frank-dittrich commented on GitHub (Jan 7, 2015): --list=build-info should show the format version.
Author
Owner

@magnumripper commented on GitHub (Jan 7, 2015):

I'll fix it if it doesn't.

<!-- gh-comment-id:68959570 --> @magnumripper commented on GitHub (Jan 7, 2015): I'll fix it if it doesn't.
Author
Owner

@magnumripper commented on GitHub (Jan 7, 2015):

I decided to play nice and add min-len as second last column.

<!-- gh-comment-id:68961572 --> @magnumripper commented on GitHub (Jan 7, 2015): I decided to play nice and add min-len as second last column.
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#606
No description provided.