[arch-general] fail to export gpg private key

arnaud gaboury arnaud.gaboury at gmail.com
Wed Jul 6 12:06:41 UTC 2016


I have successfully created a gpg key pair on one of my computer. I
would like to use the same pair on another computer, so the need to
export. Here are the commands:

$ gpg --output tth_pub.gpg --armor --export KeyID

Results in
-rw-rw-r-- 1 poisonivy poisonivy 1.7K Jul  6 13:34 tth_pub.gpg

Fine. Now with private one:

$ gpg --output tth_sec.gpg --armor --export-secret-key KeyID
gpg: WARNING: nothing exported

I have the tth_sec.pgp but with size of zero.

What do I wrong?


gpg-agent is running :
67:poisoni+ 23911     1  0 13:41 ?        00:00:00 gpg-agent --homedir
/home/poisonivy/.config/gnupg --use-standard-socket --daemon

gpg.conf
-------------
no-greeting
homedir ~/.config/gnupg
use-agent
default-key 92AB63D5
charset utf-8
utf8-strings
armor
keyserver pgp.mit.edu
keyserver-options auto-key-retrieve

gpg-agent.conf
---------------------
homedir    ~/.config/gnupg
allow-preset-passphrase

Thank you for help.

-- 

google.com/+arnaudgabourygabx


More information about the arch-general mailing list