Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting key error #25

Open
allenzhao opened this issue Apr 14, 2022 · 1 comment
Open

Exporting key error #25

allenzhao opened this issue Apr 14, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@allenzhao
Copy link

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 allenzhao added the bug Something isn't working label Apr 14, 2022
@jorgelbg
Copy link
Owner

jorgelbg commented Aug 5, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants