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

Need to ask user to "Touch yubikey to continue" #12

Open
Fry-kun opened this issue Sep 27, 2016 · 3 comments
Open

Need to ask user to "Touch yubikey to continue" #12

Fry-kun opened this issue Sep 27, 2016 · 3 comments

Comments

@Fry-kun
Copy link

Fry-kun commented Sep 27, 2016

If programmed with "require user input", yubikey will wait for the user to touch it before generating a response. ykfde should detect this condition and display some message to the user.

If it's not trivial, this can be faked by always asking "Touch yubikey to continue" -- or by looking at how long it takes for Yubikey to respond (if >a few msec, user input is probably required)

@Fry-kun
Copy link
Author

Fry-kun commented Sep 27, 2016

This is especially problematic during boot, since it's not clear if I need to touch the yubikey before entering the passphrase (seems like that's the case?)

@eworm-de
Copy link
Owner

The actual work is done by a udev helper that does not have access to the terminal. So we can not display any messages.

@agowa
Copy link

agowa commented May 29, 2019

What about just printing If required press the button on your yubikey to continue. Before invoking the udev helper? The message should only be barely visible if it is not required as the boot process silently continues. And if it is required it will stay on screen until the user has pressed the button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants