-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
help needed: using Yubikey, no touch ID prompt, bad PIN error #20
Comments
same issue |
Could you enable the debug options for gpg-agent? It seems that it is sending something to pinentry-touchid and but it is just getting an |
@jorgelbg Here's my
Here's the output of
|
I tested it, smart cards seem to be unsupported, you only get this double PIN prompt. Since you have to enter the PIN twice every time, this is objectively worse than the normal pinentry-mac programme. |
I have a similar issue: echo 1234 | gpg -as -
gpg: using "…" as default secret key for signing
gpg: signing failed: Operation cancelled
-----BEGIN PGP MESSAGE-----
gpg: signing failed: Operation cancelled gpg-agent.log
|
Thanks for creating this tool!
environment
I'm using M1 Mac, OS X 12.1, gpg 2.3.4, pinentry-mac 1.1.1.1, pinentry-touchid 0.0.2. My GPG private key is on my Yubikey 5C NFC.
Problem
If I use pinentry-touchid in
~/.gnupg/gpg-agent.conf
and run
echo 1234 | gpg -as -
, I seeI'm not prompted for a PIN or for touch ID.
What I expect
To be prompted for touch ID, then get encrypted message.
More info
/tmp/pinentry-touchid.log
says2022/02/06 18:19:49 main.go:105: Ready!
gpg-agent.log says
I know my Yubikey and pinentry-mac are working because if I use pinentry-mac in
~/.gnupg/gpg-agent.conf
and run
echo 1234 | gpg -as -
, I'm prompted for my PIN, then the encrypted message shows up in my terminal.The text was updated successfully, but these errors were encountered: