I lost my public key! :)

David Shaw dshaw@jabberwocky.com
Wed Oct 23 18:07:02 2002


On Wed, Oct 23, 2002 at 10:56:02AM +0200, Werner Koch wrote:
> On Tue, 22 Oct 2002 23:33:44 -0400, David Shaw said:
> 
> > All OpenPGP secret keys have a copy of the public key inside them, and
> > in a worst-case scenario, you can create yourself a new public key
> > using the secret key.  Some versions of PGP, in fact, do this
> 
> I just wrote a tool to convert a secret key into a public one.  It is
> actually a new option for gpgsplit and available in the CVS. It will
> also be included in 1.2.1 I hope to release soon.

I have added a similar feature to the development GnuPG.  When you
import a secret key, the embedded public key is imported as well.  You
can disable this behavior with "--import-option no-convert-sk-to-pk".

David

-- 
   David Shaw  |  dshaw@jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson