can't connect to the PIN entry module '/opt/homebrew/opt/pinentry-touchid/bin/pinentry-touchid': End of file
Reason:
dig into the issue find out when gpg calls out to pinentry-touchi binary, it adds "--display /private/tmp/com.apple.launchd.MGdSfNPjrJ/org.xquartz:0" flag.
Because --display is an unrecognized flag for the binary, it errors out immediately. This then result in an unclear message returned from gpg: "No pinentry".
Fix:
adding the dummy --dispaly flag to the flag parser.
This fix appears to have not yet been released (I see only a Dec latest release and the brew version seems even older). @jorgelbg, will you please release it?
Detailed issue:
can't connect to the PIN entry module '/opt/homebrew/opt/pinentry-touchid/bin/pinentry-touchid': End of file
Reason:
dig into the issue find out when gpg calls out to pinentry-touchi binary, it adds "--display /private/tmp/com.apple.launchd.MGdSfNPjrJ/org.xquartz:0" flag.
Because --display is an unrecognized flag for the binary, it errors out immediately. This then result in an unclear message returned from gpg: "No pinentry".
Fix:
adding the dummy --dispaly flag to the flag parser.