Re: Importing an OpenPGP keyring to Cryptlib

Peter Gutmann <[email protected]> Mon, 18 Feb 2013 12:35:29 +1300
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Daniel Kahn Gillmor <[email protected]> writes:

>there are several:
>
> * pgpdump : http://www.mew.org/~kazu/proj/pgpdump/en/
> * gpg --list-packets : http://gnupg.org/
> * gpg2txt : http://gpg2txt.alioth.debian.org/

I much prefer pgpdump, it provides the best/most comprehensive information
format.  Compare GPG:

:signature packet: algo 1, keyid F1D77AA689C64A88
        version 4, created 1360825475, md5len 0, sigclass 0x18
        digest algo 2, begin of digest 4d fb
        hashed subpkt 2 len 4 (sig created 2013-02-14)
        hashed subpkt 27 len 1 (key flags: 0C)
        subpkt 16 len 8 (issuer key ID F1D77AA689C64A88)
        data: [2048 bits]

with pgpdump:

Old: Signature Packet(tag 2)(287 bytes)
        Ver 4 - new
        Sig type - Subkey Binding Signature(0x18).
        Pub alg - RSA Encrypt or Sign(pub 1)
        Hash alg - SHA1(hash 2)
        Hashed Sub: signature creation time(sub 2)(4 bytes)
                Time - Thu Feb 14 20:04:35 New Zealand Daylight Time 2013
        Hashed Sub: key flags(sub 27)(1 bytes)
                Flag - This key may be used to encrypt communications
                Flag - This key may be used to encrypt storage
        Sub: issuer key ID(sub 16)(8 bytes)
                Key ID - 0xF1D77AA689C64A88
        Hash left 2 bytes - 4d fb
        RSA m^d mod n(2048 bits) - ...
                -> PKCS-1

Peter.

_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.