Alternate title: guide to changing your single factor authentication from "something you know" to "something you have."
Passwordless Logins with Yubikey
11–20 of 66 posts
Re: Passwordless Logins with Yubikey
#12I feel like these devices generally give the illusion of security while really giving an adversary a single device to target. As another user had suggested, using udev rules and some device encryption would likely be a much better option... if not as an alternative, at least in conjunction with something like this.
Technically, yes, but how do you target it? This is impossible to extract the private key from it.
Re: Passwordless Logins with Yubikey
#13I feel like these devices generally give the illusion of security while really giving an adversary a single device to target. As another user had suggested, using udev rules and some device encryption would likely be a much better option... if not as an alternative, at least in conjunction with something like this.
> giving an adversary a single device to target Technically, yes, but how do you target it? This is impossible to extract the private key from it.
Re: Passwordless Logins with Yubikey
#14I just bought two yubikeys; a month later, I returned both. Here is a (major) problem. On a ubuntu box, I installed `libpam-u2f` and set it up for one user account. Turns out it breaks all other user accounts on this ubuntu box, meaning no other user could log in without the key. I contacted their support. No solution.
Re: Passwordless Logins with Yubikey
#15Re: Passwordless Logins with Yubikey
#16I just bought two yubikeys; a month later, I returned both. Here is a (major) problem. On a ubuntu box, I installed `libpam-u2f` and set it up for one user account. Turns out it breaks all other user accounts on this ubuntu box, meaning no other user could log in without the key. I contacted their support. No solution.
Re: Passwordless Logins with Yubikey
#17I just bought two yubikeys; a month later, I returned both. Here is a (major) problem. On a ubuntu box, I installed `libpam-u2f` and set it up for one user account. Turns out it breaks all other user accounts on this ubuntu box, meaning no other user could log in without the key. I contacted their support. No solution.
The former approach would look something like this; the "default=1" part skips the next directive (pam_u2f.so) when the test fails (i.e. when the user is not in the mandatory_u2f group):
auth [success=ignore default=1] pam_succeed_if.so user ingroup mandatory_u2f
auth required pam_u2f.so cue
[1] https://developers.yubico.com/pam-u2f/ "nouserok … Set to enable authentication attempts to succeed even if the user trying to authenticate is not found inside authfile or if authfile is missing/malformed."Re: Passwordless Logins with Yubikey
#18Earlier quoted context omitted.
> giving an adversary a single device to target Technically, yes, but how do you target it? This is impossible to extract the private key from it.
By stealing the device.
Re: Passwordless Logins with Yubikey
#19To login to my work VPN, the password is "". Our SSO system requires both once per day as well.
It's a great system and I highly recommend it.
Re: Passwordless Logins with Yubikey
#20Cool. Now where's the guide to embed NFC enabled yubikeys in your hand?