[arch-general] fail to export gpg private key

Jens Adam jra at byte.cx
Wed Jul 6 12:36:37 UTC 2016


> $ 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


—byte


More information about the arch-general mailing list