Skip to content

Create interactive prompt for use when fido device is not detected #322

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

StephenBeynon
Copy link

Create new interactive prompt for use when fido device is not detected to remind the user to plug it in. While this does have the disadvantage of informing an attacker fido devices are in use some environments might consider this worth while to reduce confusion during the switch to fido authentication.

@LDVG
Copy link
Contributor

LDVG commented Nov 19, 2024

Hi,

We generally try to avoid adding configuration options to keep complexity low. Is the interactive option too obtrusive?

As an aside: If we improve the module's return values, this could be implemented in the PAM stack instead by retrying with interactive set if no authenticators are found. (Related: #320)

@AlkalineJaunt
Copy link

AlkalineJaunt commented Mar 28, 2025

This seems possible right now, by something like

auth       sufficient   pam_u2f.so
auth       [success=done new_authtok_reqd=ok ignore=ignore default=die] pam_u2f.so interactive

...with your appropriate defaults set.

Edit:- Meh... Maybe not. It gets ugly when you have the token plugged in, but mistype the PIN

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

Successfully merging this pull request may close these issues.

3 participants