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

feat: fallback to pinentry-mac if no touchID #21

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

troyanov
Copy link
Contributor

There might be a situation when device has TouchID, but once the lid is closed sensor.IsTouchIDAvailable() returns false.
It happens when you connect and external display to your laptop and have the lid closed.

This PR adds a fallback scenario to call pinentry-mac when touchID is not available.

There might be a situation when device has TouchID, but once the
lid is closed `sensor.IsTouchIDAvailable()` returns false.

It happens when you connect and external display to your laptop
and have the lid closed.

This commit adds a fallback scenario to call pinentry-mac when
touchID is not available.
@troyanov
Copy link
Contributor Author

Hi @jorgelbg can you please review this one?

@lionello
Copy link

Fixes #15

@jorgelbg jorgelbg merged commit 0235243 into jorgelbg:main Aug 4, 2022
@jorgelbg
Copy link
Owner

jorgelbg commented Aug 4, 2022

@troyanov Nice finding! and thank you for the contribution! I never considered the chance where people used pinentry-touchid with the laptop closed 😅 (looking back is kind of obvious that a lot of people use their laptop in clamshell mode.

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.

3 participants