Exporting my secret key

Werner Koch wk@gnupg.org
Fri, 8 Dec 2000 12:46:20 +0100


On Fri, 8 Dec 2000, David Liu wrote:


> I'm just wondering how I would go about exporting and/or decrypting my GPG
> secret
> key for use with other PGP utilities?
gpg --export-secret-keys -a >foo.asc You should also export your public key; do this before you do the above. So if you want to export the key 0x12345678 do this: gpg --export -a 0x12345678 > pub+sec.asc gpg --export-secret-keys -a 0x12345678 >> pub+sec.asc Note: The forthcoming release of GnuPG does require that you use the option --allow-secret-key-import to _import_ a secret key; however it will tell you this if it sees a secret key. Werner -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org