Exporting a private Key

Hauke Laging mailinglisten at hauke-laging.de
Thu Mar 3 21:24:25 CET 2011

Am Donnerstag 03 März 2011 11:52:03 schrieb Bairi, Chandra Shekar:

> 1>     How can I back up the secret key while generating the key pair
> from the command line

You cannot. Exception: You generate the key on a smartcard. In that case you 
are asked whether you want to make a backup (IIRC). 

> 2>     If I miss taking the back up of the secret key is there a way to
> export the secret key. Kindly please give the command.

For secret keys stored in a keyring:

--export-secret-keys / --export-secret-subkeys

See the documentation.

PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 555 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20110303/6a5b67a9/attachment.pgp>

More information about the Gnupg-users mailing list