pinentry-touchid icon indicating copy to clipboard operation
pinentry-touchid copied to clipboard

Exporting key error

Open allenzhao opened this issue 2 years ago • 1 comments

I was trying to export my keys and found that it's not possible in the command line using gpg --armor --export-secret-keys

I end up using something like this:

echo mypassphrase | gpg --output private_keys.backup --armor --export-secret-keys --passphrase-fd 0 --pinentry-mode loopback

Is this expected?

allenzhao avatar Apr 14 '22 02:04 allenzhao

I don't think that we currently support this use case. From a quick overview it seems that we would need to skip all the touchid integration (since you are directly providing the passphrase). I will try to take a closer look and see if we can automatically fallback to pinentry-mac in this case.

jorgelbg avatar Aug 05 '22 15:08 jorgelbg