[GH-ISSUE #1637] Create more test vectors #1082

Closed
opened 2026-10-14 03:34:26 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @loverszhaokai on GitHub (Aug 10, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1637

Originally assigned to: @loverszhaokai on GitHub.

There are 13 formats only have one test vector.

  • agilekeychain
  • Blackberry-ES10
  • cloudkeychain
  • dmd5
  • fde
  • keystore
  • lp
  • LUKS
  • OpenBSD-SoftRAID
  • * Oracle12C
  • pomelo
  • Raw-SHA3
  • Stribog-512

Since we want to detect FMT_* flag errors, so there should be more test vectors.

magnum said:

Actually there are a lot of formats that lack appropriate test vectors. All formats should test its own max. length, a null string (if applicable) and other random words of various length. 8-bit formats should also have some 8-bit test vector.

Solar said:

some lack proper test vectors - some have just one correct password, some even test empty string only.

Originally created by @loverszhaokai on GitHub (Aug 10, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1637 Originally assigned to: @loverszhaokai on GitHub. There are 13 formats only have **one** test vector. - [x] agilekeychain - [x] Blackberry-ES10 - [x] cloudkeychain - [x] dmd5 - [ ] fde - [x] keystore - [x] lp - [x] LUKS - [x] OpenBSD-SoftRAID - [x] \* Oracle12C - [x] pomelo - [x] Raw-SHA3 - [x] Stribog-512 Since we want to detect FMT_\* flag errors, so there should be more test vectors. magnum said: > Actually there are a lot of formats that lack appropriate test vectors. All formats should test its own max. length, a null string (if applicable) and other random words of various length. 8-bit formats should also have some 8-bit test vector. Solar said: > some lack proper test vectors - some have just one correct password, some even test empty string only.
bsakaguchi 2026-10-14 03:34:26 +07:00
Author
Owner

@jfoug commented on GitHub (Aug 10, 2015):

@loverszhaokai are you working on getting these?

<!-- gh-comment-id:129553610 --> @jfoug commented on GitHub (Aug 10, 2015): @loverszhaokai are you working on getting these?
Author
Owner

@loverszhaokai commented on GitHub (Aug 11, 2015):

@jfoug Yes, but not finished.

<!-- gh-comment-id:129939708 --> @loverszhaokai commented on GitHub (Aug 11, 2015): @jfoug Yes, but not finished.
Author
Owner

@kholia commented on GitHub (Apr 13, 2017):

This is almost done. It is super hard to get extra test vectors for fde and dmd5 formats. I will close this bug if we can't find the required test vectors in a reasonable amount of time.

<!-- gh-comment-id:293856722 --> @kholia commented on GitHub (Apr 13, 2017): This is almost done. It is super hard to get extra test vectors for `fde` and `dmd5` formats. I will close this bug if we can't find the required test vectors in a reasonable amount of time.
Author
Owner

@kholia commented on GitHub (Sep 5, 2017):

The dmd5 format will soon have additional test vectors.

<!-- gh-comment-id:327166938 --> @kholia commented on GitHub (Sep 5, 2017): The `dmd5` format will soon have additional test vectors.
Author
Owner

@kholia commented on GitHub (Sep 6, 2017):

It is hard to get test vectors for the fde format. I don't even remember how it works ;(

I am closing this ticket as it is 99% done.

<!-- gh-comment-id:327374371 --> @kholia commented on GitHub (Sep 6, 2017): It is hard to get test vectors for the `fde` format. I don't even remember how it works ;( I am closing this ticket as it is 99% done.
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#1082
No description provided.