KEMBAR78
Don't try using SEP keys if laptop is closed by btoews · Pull Request #36 · github/SoftU2F · GitHub
Skip to content
This repository was archived by the owner on Dec 15, 2020. It is now read-only.

Conversation

@btoews
Copy link
Contributor

@btoews btoews commented Aug 30, 2017

MacOS shows an annoying dialog when you try to sign something with a SEP backed key. This is especially annoying when you're using an external monitor with your laptop closed and can't get to the TouchID.

screen shot 2017-08-30 at 9 56 19 am

This PR checks if the laptop is open by iterating through the available displays and checking if any of them are builtin. If the laptop is closed, we abort the authentication request immediately.

/cc @ptoomey3 since we were talking about this yesterday.

@btoews btoews merged commit 1157c1b into master Aug 30, 2017
@btoews btoews deleted the check-laptop-open branch August 30, 2017 16:00
@btoews
Copy link
Contributor Author

btoews commented Aug 30, 2017

I cut a new beta release with this change: https://github.com/github/SoftU2F/releases/tag/0.0.15-beta2

@ptoomey3
Copy link
Member

Nice polish!

@btoews btoews mentioned this pull request Oct 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants