March 25, 2005

Exporting a gpg key

I use PGP/gpg so infrequently that when I want to do something somewhat complicated, it winds up taking a long time as I wander about here and there... and fiddle.

Today I needed to export a key (both public and private keys) that I'd generated in gpg so that I could import it into PGP. It shouldn't have taken an hour to do (but it did). All I needed to do was to make sure I knew the key name:

gpg --list-keys 'Key Name'

and then to export:

gpg -a --export 'Key Name' > export.pgp.asc
gpg -a --export-secret-keys 'Key Name' >>  export.pgp.asc

The import into PGP afterward was painless.

Posted by Dave at March 25, 2005 08:21 PM
Trackback URL: http://homie.dijas.com/mt/mt-tb.cgi/449
Comments