-
Notifications
You must be signed in to change notification settings - Fork 404
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
Authentication Fails with Verification Based Two Factor Authentication #249
Comments
Does using password stacking work? |
It appears not working on my end. Does anyone here have any solution pertaining to this? |
Same issue here and password stacking does not work. Not sure if its relevant but I actually get two errors:
I guess on the positive side I can lock with i3lock, and then to unlock I can swap to another tty, log in with 2FA OTP and killall i3lock to get back into the session. Is this specific to i3lock or an issue across with how (all?) lock screens interact with PAM? |
Better PAM support is tracked in #217 |
I'm submitting a…
Current Behavior
I use two factor authentication provided by
libpam-google-authenticator
, which provides two factor authentication verification codes. When using i3lock, I do not get prompted to input my verification code, nor am I able to login as verification always fails. The error appears in auth.log asi3lock(pam_google_authenticator)[27098]: Invalid verification code for XXXX
. Although I believe this is likely considered a new feature, I labeled it as a bug as well because it breaks the functionality of i3lock in its current implementation.Expected Behavior
i3lock should allow multiple inputs to PAM, as well as provide feedback if the password is accepted, so you know that it is time to input the verification code.
Reproduction Instructions
libpam-google-authenticator
in/etc/pam.d/common-session
(If you would like further details on this I can provide them, but it is a straightforward process with numerous online guides, so I left the specifics out for brevity).google-authenticator
Environment
Output of
i3lock --version
:The text was updated successfully, but these errors were encountered: