Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GnuPG extensions in private subkeys #8

Merged
merged 1 commit into from
Aug 1, 2014
Merged

Conversation

quinot
Copy link
Contributor

@quinot quinot commented Jul 26, 2014

This change adds detection of GnuPG extensions in private/experimental
S2K specifiers (type 101), and parsing of gnu-dummy (1001) (indicating
absent secret key material), and gnu-divert-to-card (2002) (indicating
key material stored on a smartcard).

Example output

Keyring with primary secret key removed

Old: Secret Key Packet(tag 5)(533 bytes)
        Ver 4 - new
        Public key creation time - Thu May 15 01:26:06 CEST 2014
        Pub alg - RSA Encrypt or Sign(pub 1)
        RSA n(4096 bits) - ...
        RSA e(17 bits) - ...
        Sym alg - CAST5(sym 3)
        GnuPG gnu-dummy (s2k 1001)

Secret subkey transferred to smartcard

Old: Secret Subkey Packet(tag 7)(550 bytes)
        Ver 4 - new
        Public key creation time - Thu May 15 01:26:26 CEST 2014
        Pub alg - RSA Encrypt or Sign(pub 1)
        RSA n(4096 bits) - ...
        RSA e(17 bits) - ...
        Sym alg - CAST5(sym 3)
        GnuPG gnu-divert-to-card (s2k 1002)
        Serial Number: d2 76 00 01 24 01 02 00 00 05 00 00 1e 6d 00 00 

This change adds detection of GnuPG extensions in private/experimental
S2K specifiers (type 101), and parsing of gnu-dummy (1001) (indicating
absent secret key material), and gnu-divert-to-card (2002) (indicating
key material stored on a smartcard).
kazu-yamamoto added a commit that referenced this pull request Aug 1, 2014
Add support for GnuPG extensions in private subkeys
@kazu-yamamoto kazu-yamamoto merged commit 0cc48b7 into kazu-yamamoto:master Aug 1, 2014
@kazu-yamamoto
Copy link
Owner

Sorry for the delay. I have merged your pull request.

@kazu-yamamoto
Copy link
Owner

v0.29 has been released. http://www.mew.org/~kazu/proj/pgpdump/en/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants