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

Support 2FA pin code and password with security keys #270

Open
NgoHuy opened this issue Dec 14, 2022 · 2 comments
Open

Support 2FA pin code and password with security keys #270

NgoHuy opened this issue Dec 14, 2022 · 2 comments

Comments

@NgoHuy
Copy link

NgoHuy commented Dec 14, 2022

Hi teams,

Thank for great application, I have use yubikey and setup login requires pin and password, but after I enter the pin, it sent to pam quickly, not required password.

The pam's setup is here:

$ cat /etc/pam.d/system-auth
#%PAM-1.0

auth      required pam_u2f.so pinverification=1 cue
#auth      sufficient pam_fprintd.so
auth      required  pam_unix.so     try_first_pass nullok

I think it should handle seperate pam module instead send pam quickly as enter first pass.

@notmentaloutlaw
Copy link

You can already do this just modify /etc/pam.d/swaylock just like you did with system-auth

@NgoHuy
Copy link
Author

NgoHuy commented Feb 10, 2023

You can already do this just modify /etc/pam.d/swaylock just like you did with system-auth

I did it before submitting the issue, it used first module then pass to pam handle

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

No branches or pull requests

2 participants