When using GPG's ssh-agent emulation, pinentry-touchid will panic and crash. This is due to GetPIN expecting the description to always come from a GPG signing request, and panicking when the regex matches don't actually capture anything.
This PR is a quick fix that adds support for the pinentry description provided by GPG's ssh-agent emulation. Tested and works consistently on my M1.
When using GPG's ssh-agent emulation, pinentry-touchid will panic and crash. This is due to
GetPIN
expecting the description to always come from a GPG signing request, and panicking when the regex matches don't actually capture anything.This PR is a quick fix that adds support for the pinentry description provided by GPG's ssh-agent emulation. Tested and works consistently on my M1.