Backup my key (private/public)

David Shaw dshaw at
Sun Jan 13 19:56:07 CET 2008

On Sun, Jan 13, 2008 at 05:38:46PM +0100, Dirk Einecke wrote:
> Hi,
> I want to backup my public and my private key. Is it right that I've only 
> to backup my private key? I do it with this command:
> gpg --armor --output _secret.asc --export-secret-key max at

That is a fine way to back it up.  See also for another way to do

> The result for importing (gpg --import) the backup file is my public and my 
> private key. Is the private key automatically re-generated from the private 
> key?

A public key can be automatically regenerated from your private key.


More information about the Gnupg-users mailing list