-
-
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
No touchid prompt #11
Comments
Can you verify if invoking
Could you also attach the output from You can also enable the debug mode of
Keep in mind that you need to restart the gpg-agent afterwards: |
/tmp/pinentry-touchid.log
Seems like homebrew, I'm running Monterey 12.0.1 (21A559), thanks a lot for taking a look into this :) |
Here's a quick extract from the pgp debug log, sorry I forgot to add that
|
FYI I just saw a similar comment here https://golangrepo.com/repo/jorgelbg-pinentry-touchid-go-security |
When executing
|
Any time! Glad that you are willing to give it a try! From the
Can you try to force that symlink to
|
I think we've got something interesting, duplicated entry in the keychain ? |
Oh nice !! it started working as soon as I cleared out my keychain after re-storing the passphrase once :D ! |
seems like this issue can be closed? |
@Gby56 Can you elaborate on how you cleared your keychain? I have exactly the same issue of the "Duplicated entry in the keychain" error. I already adjusted the symlink, after that cleared out my keychain by deleting the one entry with location "GnuPG", added it back into the keychain using pinentry-mac, but when changing to pinentry-touchid it still says gives me the duplication error. macOS 12.5 Logs and Configs(Sorry, it's partially German) GPG Conf
GPG
Pinentry-Touchid
|
Hi ! Sorry it's been a while since I've had the issue... I'll try to dig back into it but as far as I can tell, you did the appropriate steps I think |
@JanWittler Can you check the output of this command:
This should list dump and return any items that is matching GnuPG. You can also use:
but this command only returns the first matching item. |
Wow, thank you already very much for the surprising fast answers.
|
@JanWittler can you remove/clear the keychain from any matching key and then giving it another try? If possible can you make a backup of the item from the keychain? It would be interesting to find out why pinentry-touchid is failing to recognize that there is already an item in the keychain. I'm just not sure on how to look into the issue since I am not able to reproduce it myself and there is sensitive information in the keychain item 😅. |
I found the solution! Uncheck the box of 'Save in keychains' after deleting the GnuPG item in Keychains and re-trigger gpg firestly. |
Fixed it by making sure to run this successfully:
Then running:
Then changing my conf to this:
Then running:
That should put it into they Keychain, so that:
Finally prints something. Then run:
And change your
Then:
|
Hi,
I've been able to configure pinentry-mac to work and store the key's passphrase in the keychain, no issue whatsoever.
But once I switch my ~/.gnupg/gpg-agent.conf to
It never brings the touchID prompt.
I have looked into allowing pinentry-touchid in the access control of the keychain entry as mentionned.
to add /usr/local/bin/pinentry-touchid
But this doesn't work either, my git debug output tells me:
And if I retry this command in another terminal, it hangs infinitely.
Even something as simple as
echo "test" | gpg -vvv --clearsign
will failThe text was updated successfully, but these errors were encountered: