[GH-ISSUE #1251] Add support for GPG symmetric key #789

Closed
opened 2026-10-14 03:23:58 +07:00 by bsakaguchi · 9 comments
Owner

Originally created by @Ogglas on GitHub (May 1, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1251

Got this error when trying to run gpg2john. File available below:

https://www.dropbox.com/s/kvigykny4p5ech5/Flag07.txt.gpg?dl=0

Originally created by @Ogglas on GitHub (May 1, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1251 Got this error when trying to run gpg2john. File available below: https://www.dropbox.com/s/kvigykny4p5ech5/Flag07.txt.gpg?dl=0
bsakaguchi 2026-10-14 03:23:58 +07:00
Author
Owner

@magnumripper commented on GitHub (May 1, 2015):

@kholia do you have some spare time?

<!-- gh-comment-id:98242612 --> @magnumripper commented on GitHub (May 1, 2015): @kholia do you have some spare time?
Author
Owner

@kholia commented on GitHub (May 1, 2015):

@Ogglas do you know the corresponding password? if not, do you have a sample file, which is very similar?

<!-- gh-comment-id:98250994 --> @kholia commented on GitHub (May 1, 2015): @Ogglas do you know the corresponding password? if not, do you have a sample file, which is very similar?
Author
Owner

@kholia commented on GitHub (May 1, 2015):

I now recommend using PGPCrack-NG for cracking symmetrically encrypted PGP files (commit 195afcd62a).

https://github.com/kholia/PGPCrack-NG

<!-- gh-comment-id:98252415 --> @kholia commented on GitHub (May 1, 2015): I now recommend using PGPCrack-NG for cracking symmetrically encrypted PGP files (commit 195afcd62a64d29feecd550e94113f9fbbf48ab3). https://github.com/kholia/PGPCrack-NG
Author
Owner

@Ogglas commented on GitHub (May 3, 2015):

Yes I managed to crack it, password is "Robert Fischer". PGPCrack-NG does not give you much feedback so it would be nice if John had support for it. If you need more files I have 12x with passwords.

<!-- gh-comment-id:98459342 --> @Ogglas commented on GitHub (May 3, 2015): Yes I managed to crack it, password is "Robert Fischer". PGPCrack-NG does not give you much feedback so it would be nice if John had support for it. If you need more files I have 12x with passwords.
Author
Owner

@kholia commented on GitHub (May 3, 2015):

@Ogglas

Someone will need to write the patches to add the support. I am relieved to know that PGPCrack-NG was able to crack the password (without fucking up) ;)

<!-- gh-comment-id:98470636 --> @kholia commented on GitHub (May 3, 2015): @Ogglas Someone will need to write the patches to add the support. I am relieved to know that PGPCrack-NG was able to crack the password (without fucking up) ;)
Author
Owner

@Ogglas commented on GitHub (May 3, 2015):

Sorry Kholia but PGPCrack-NG dit not give me any feedback so I ended up writing a shell script that iterated a wordlist. :)

<!-- gh-comment-id:98471113 --> @Ogglas commented on GitHub (May 3, 2015): Sorry Kholia but PGPCrack-NG dit not give me any feedback so I ended up writing a shell script that iterated a wordlist. :)
Author
Owner

@kholia commented on GitHub (May 3, 2015):

$ cat wordlist.txt | ./PGPCrack-NG Flag07.txt.gpg
Found Password : Robert Fischer
<!-- gh-comment-id:98471313 --> @kholia commented on GitHub (May 3, 2015): ``` $ cat wordlist.txt | ./PGPCrack-NG Flag07.txt.gpg Found Password : Robert Fischer ```
Author
Owner

@Ogglas commented on GitHub (May 3, 2015):

Wierd, I will try it again when I have time.

<!-- gh-comment-id:98482088 --> @Ogglas commented on GitHub (May 3, 2015): Wierd, I will try it again when I have time.
Author
Owner

@magnumripper commented on GitHub (Nov 16, 2015):

Fixed in 3996744ee

<!-- gh-comment-id:156945435 --> @magnumripper commented on GitHub (Nov 16, 2015): Fixed in 3996744ee
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#789
No description provided.