-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Can't get it to work on macOS Monterey 12.0.1 #10
Comments
Hi @congoelmex, I opened an issue for a slightly different issue, but like yourself, I can get pinentry-mac to work, not the touchID. |
Hi @congoelmex, Thanks for opening this issue. |
+1 I am also struggling to get this working on Monterey. Subscribing myself to any updates here. |
I have the same issue. Fresh install with hombrew.
This might be related: I do have |
Just as a data point, this does work for me on Monterey 12.1 (M1 Pro). |
For those who can't live without it (e. g. have a Password Store setup that have worked so neat with Touch ID) – here's a quick and dirty (I mean, really dirty) pinentry implementation in Swift by yours truly. https://codeberg.org/notpushkin/pinentry-tem I hope that it helps you folks until pinentry-touchid is fixed, or I get my shit together and learn enough of a Swift to make it better. |
This workaround resolved the issue for me: #3 (comment) |
From this error:
it seems that pinentry-touchid is falling back to pinentry/pinentry-curses instead of pinentry-mac. Can you check by running:
and also there is a new
|
Hi @jorgelbg , Your documentation states, that I have to save the passphrase in the MacOS Keychain. The Problem is, that I'm not offered the option to do so. If I try it (for testing purposes) with an gpg-key that is in my gpg-keyring on the harddrive (as opposed to being saved on the Nitrokey), the "Save in keychain" option in the pinentry-mac dialogue is displayed. Any thoughts on that? ;) |
@congoelmex even if you don't see the option to save in the Keychain in the pinentry-mac UI, pinentry-touchid should still create an item in the keychain automatically, as long as no duplicated entry is found. If a duplicated item is found it should be logged in:
and you could use the commands from #11 (comment) to find those duplicated entries (if any). |
Hi @jorgelbg and thank you for your answer. It still doesn't work. pinentry-mac version: 1.1.1 (installed bei GPGSuite from gpgtools.org) I start with this gpg-agent.conf: There is no entry regarding GnuPG in my macOS-keychain.
I'm presented the pinentry-mac window, where I enter the passphrase to unlock (notice the missing save option): After that, I check my macOS - keychain: No entry about GnuPG whatsoever... Now I change gpg-agent.conf to use pinentry-touchid:
After killing the gpg-agent with
Now, the pinentry-touchid pops up: If I enter the passphrase twice, the test message gets encrypted...but I'm not offered to use TouchID...at no point... And no keychain entry for GnuPG or the like is created.. Just for completeness, here are the results from the commands you suggested:
Here, the contents of $TMPDIR/pinentry-touchid.log: Of course I set I don't really think that it would be helpful to post the contents of "gpg-agent.log" (and I don't want to spam this thread too much), but if you think it could help, I'll gladly post ist (maybe twice - one time with pinentry-mac and one time with pinentry-touchid)... To be frank, I'm at a loss here and just can't get pinentry-touchid to work with my Nitrokey... :( EDIT: re-formatted the code-snippets. |
should these entries:
from the gpg-agent.log worry me somehow? |
@congoelmex i am getting exactly the same symptoms as you on Ventura 13.2.1 :( Did you manage to get touchid working? |
I was having same issue on Ventura 13.2.1 and 13.3. It still shows Note: using yubikey |
Same issue here, I need to provide the PIN twice and no touch id. |
Hi Jorge,
Did you already manage to get pinentry-touchid to work with macOS 12.0.1? Or is it maybe already working for you?
I installed it following your guide here on github via homebrew.
For me it isn't and just throws:
sign_and_send_pubkey: signing failed for RSA "cardno:000x 0000xxxx" from agent: agent refused operation
pinentry-mac is working fine.
Here's my .zshrc:
I used pinentry-mac without the last two lines and it doesn't seem to make a difference if they are there anyway, so I commented them out again.
Here is my .gnupg/gpg-agent.conf:
and finally my gpg.conf:
As I said - this setup is working fine with pinentry-mac (latest version, installed via homebrew) for about two years now.
Any ideas? Or simply a "12.0.1 is just not supported right now" ? ;)
Thanks on advanced and also for your work (which, hopefully, I'll be able to use someday) ;)
The text was updated successfully, but these errors were encountered: