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

USB key fails to authenticate at GUI login screen #32

Open
zz0rk opened this issue Aug 4, 2016 · 1 comment
Open

USB key fails to authenticate at GUI login screen #32

zz0rk opened this issue Aug 4, 2016 · 1 comment

Comments

@zz0rk
Copy link

zz0rk commented Aug 4, 2016

I am running pam_usb 0.5.0-4 on Jessie 8.5 with Mate Desktop. When I try to log into my workstation at the login screen I experience the following:

a) when the profile is set to 'sufficient' the USB key fails to authenticate automatically and the workstation remains locked; I have to use my name and password to log in.
b) when the profile is set to 'required' with the USB key connected and using my name and password authentication fails; the password is wrong.

At the CLI everything works for either profile setting (sufficient or restricted).

Update Fri Aug 5 06:43:26 PDT Fri Aug 5 06:45:13 PDT 2016:
1st time login at boot works as expected; it's subsequent logins after the screensaver kicks in that fail as described above.

@zz0rk
Copy link
Author

zz0rk commented Aug 10, 2016

Debug output. Authentication with key only fails once the screensaver has been engaged. First time login after boot works!
If someone could help me with this, I would really appreciate it.
Thanks

At screensaver:
Aug 10 09:22:42 myLaptop pam_usb[24661]: pam_usb v0.5.0
Aug 10 09:22:42 myLaptop pam_usb[24661]: Authentication request for user "USER" (mate-screensaver)
Aug 10 09:22:42 myLaptop pam_usb[24661]: Device "derKey" is connected (good).
Aug 10 09:22:42 myLaptop pam_usb[24661]: Performing one time pad verification...
Aug 10 09:22:42 myLaptop pam_usb[24661]: Pad checking failed !
Aug 10 09:22:42 myLaptop pam_usb[24661]: Access denied.
Aug 10 09:22:51 myLaptop mate-screensaver-dialog[24661]: gkr-pam: unlocked login keyring

At CLI:
Aug 10 09:23:34 myLaptop pam_usb[24736]: pam_usb v0.5.0
Aug 10 09:23:34 myLaptop pam_usb[24736]: Authentication request for user "USER" (login)
Aug 10 09:23:34 myLaptop pam_usb[24736]: Device "derKey" is connected (good).
Aug 10 09:23:34 myLaptop pam_usb[24736]: Performing one time pad verification...
Aug 10 09:23:34 myLaptop pam_usb[24736]: Access granted.

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

1 participant