On Wed, Jul 6, 2016 at 2:36 PM, Jens Adam <jra@byte.cx> wrote:
$ 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?
Are you doing this via ssh? In that case gpg-agent/pinentry often cause problems. Try again with:
$ GPG_TTY=$(tty) gpg --output tth_sec.gpg --armor --export-secret-key KeyID
NO ssh. I just found the reason when running $ gpg --list-secret-keys. The command returned empty! Permission was set to 600 for items inside the gnupg folder. Setting permission to 700 for sub directories fixed it. $ ls ...... -rw------- 1 poisonivy poisonivy 1.7K Jul 6 13:34 tth_pub.gpg -rw------- 1 poisonivy poisonivy 3.6K Jul 6 14:46 tth_sec.gpg
—byte
-- google.com/+arnaudgabourygabx