[GH-ISSUE #847] Add support for the new GPG 2.1 "format" #454

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

Originally created by @kholia on GitHub (Nov 7, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/847

Originally assigned to: @kholia on GitHub.

https://gnupg.org/faq/whats-new-in-2.1.html

Originally created by @kholia on GitHub (Nov 7, 2014). Original GitHub issue: https://github.com/openwall/john/issues/847 Originally assigned to: @kholia on GitHub. https://gnupg.org/faq/whats-new-in-2.1.html
Author
Owner
<!-- gh-comment-id:163065097 --> @kholia commented on GitHub (Dec 9, 2015): http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob_plain;f=agent/keyformat.txt; https://github.com/CSNW/gnupg/blob/master/agent/protect.c
Author
Owner

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

Here is the first cut, filter.c file.

Usage,

$ gcc -std=c99 -Wall -pedantic filter.c -o filter -lgcrypt 

$ ../run/john --stdout --mask='password?d?d?d' | ./filter target.key

We need to port this from Libgcrypt to OpenSSL.

Note: Read comments present in filter.c to know more about its usage.

<!-- gh-comment-id:270948142 --> @kholia commented on GitHub (Jan 6, 2017): Here is the first cut, [filter.c file.](https://github.com/magnumripper/JohnTheRipper/files/690352/filter.c.txt) Usage, ``` $ gcc -std=c99 -Wall -pedantic filter.c -o filter -lgcrypt $ ../run/john --stdout --mask='password?d?d?d' | ./filter target.key ``` We need to port this from Libgcrypt to OpenSSL. Note: Read comments present in `filter.c` to know more about its usage.
Author
Owner

@SomeoneSerge commented on GitHub (Oct 14, 2020):

@kholia they must've changed the format again; I tested your filter with one of my older keys and it worked, but not with a new one

Also, thanks

<!-- gh-comment-id:708636540 --> @SomeoneSerge commented on GitHub (Oct 14, 2020): @kholia they must've changed the format again; I tested your `filter` with one of my older keys and it worked, but not with a new one Also, thanks
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#454
No description provided.