Secret key without public key

Larry Brower larry-lists at
Tue Mar 30 02:15:05 CEST 2010

> This is a development backup.  Can I copy from the another 
> environment?

yes if you have the key on another server such as a production box.

gpg --export-secret-key -a > a-filename-here

copy it to the dev box with something like scp

then on the dev box

gpg --import a-filename-here

make sure to remove the file you generated exporting the key. You 
don't want someone to see copy it ;)

shred -f -n 1000 -z -v -u a-filename-here

More information about the Gnupg-users mailing list