extracting a public key from the secret key

vedaal@hush.com vedaal@hush.com
Fri Aug 8 21:28:03 2003



>Message: 14
>Date: Fri, 8 Aug 2003 13:06:40 -0500
>To: GnuPG Users <gnupg-users@gnupg.org>
>Subject: Re: extracting a public key from the secret key
>From: Kyle Hasselbacher <kyle-list-gpguser@toehold.com>
>Reply-To: Kyle Hasselbacher <kyle-exp-1065550000.6ab53b@toehold.com>

[...]

>>> is there any way in gnupg to extract the public key from the
>secret one?
>
>>Presumably s/he's tried the obvious route - retrieve the public
>key from a 
>>keyserver?
>
>If no one else has the public key, you might as well generate a
>new pair.

there is a trivial workaround:
just import the secret key into pgp, which then automatically extracts
the public key, 
and then export the public key back to gnupg

(but the person asking has no interest in getting pgp, or is running
it on linux, etc.)

this came up on this list some time ago, and IIRC,
there was,(or was soon going to be), a way for gnupg also to extract
the public key given the secret key,
but i don't remember what the solution was ;-(

vedaal



Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
https://www.hushmail.com/services.php?subloc=messenger&l=434

Promote security and make money with the Hushmail Affiliate Program: 
https://www.hushmail.com/about.php?subloc=affiliate&l=427