Skip to content
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

Fix pinentry for GPG ssh-agent emulation #24

Merged
merged 1 commit into from Apr 7, 2022
Merged

Conversation

eth-p
Copy link
Contributor

@eth-p eth-p commented Mar 26, 2022

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.

@jorgelbg jorgelbg merged commit 0503f3e into jorgelbg:main Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants