Re: Importing an OpenPGP keyring to Cryptlib

Peter Gutmann <[email protected]> Sun, 17 Feb 2013 02:44:32 +1300
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Lahiru Dissanayake <[email protected]> writes:

>I've attached the binary file exported from GPG which is loaded into the
>keyset, if you want to take a look.

That's a pretty odd file, it's a public keyring:

Old: Public Key Packet(tag 6)(269 bytes)
        Ver 4 - new
        Public key creation time - Thu Feb 14 20:04:35 New Zealand Daylight Time 2013
        Pub alg - RSA Encrypt or Sign(pub 1)
        RSA n(2048 bits) - ...
        RSA e(17 bits) - ...
Old: User ID Packet(tag 13)(24 bytes)
        User ID - cryptlib <[email protected]>
Old: Signature Packet(tag 2)(313 bytes)
        [...]

but then further on there's a private key there with the same userID as the
public key, and then there's a second private key with no userID at all.
Encountering this, well, mess is confusing cryptlib, I'll update the code so
it'll no longer try and read a private key from what's supposed to be a
public-key keyring.

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.