mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #814] Some PuTTY format self tests missing #427
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#427
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 (Oct 18, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/814
Originally assigned to: @frank-dittrich on GitHub.
static struct custom_salt has 2 integers, is_mac and old_fmt.
Both of them influence how the hash is computed.
Both self tests, however, have is_mac set to 1 and old_fmt set to 0.
Does anybody know how to get valid hashes and their corresponding passwords for the other combinations of is_mac and old_fmt?
Otherwise we don't know whether the algorithm and/or putty2john really work correctly for those other combinations.
@magnumripper commented on GitHub (Oct 22, 2014):
I set this as "enhancement" but ultimately it's more of a bug.
@kholia commented on GitHub (Dec 17, 2014):
Getting a very old version of PuTTY (and related utils) might work.
@kholia commented on GitHub (Sep 28, 2017):
https://www.chiark.greenend.org.uk/~sgtatham/putty/releases/0.52.html
Very old PuTTY version 0.52 (released on 2002-01-14) too generates keys which have
is_macset to1. It should be reasonable to assume that keys withold_fmtset to1are very rare.@kholia commented on GitHub (Sep 28, 2017):
We also don't support the
SSH1 (RSA)keys it seems. It might be by design but I don't remember.This behavior is not great. We should instead say that
SSH1 private keys are not supported.Use https://ftp.gnome.org/pub/putty/ to download and test older versions of PuTTY and associated utilities.
@kholia commented on GitHub (Sep 28, 2017):
I don't see a practical way to solve this issue. Hence, I am closing it.