By using execve(2), we can replace the running pinentry-touchid process with pinentry-mac. This allows it to directly communicate with the GPG agent, receiving all the pinentry settings and messages.
I made this change to improve the UX when my laptop lid is closed. Before it, the pinentry dialog would have no text or error messages.
By using execve(2), we can replace the running
pinentry-touchid
process withpinentry-mac
. This allows it to directly communicate with the GPG agent, receiving all the pinentry settings and messages.I made this change to improve the UX when my laptop lid is closed. Before it, the pinentry dialog would have no text or error messages.