Earlier quoted context omitted.
By stealing the device.
It does not scale.
Passwordless Logins with Yubikey
21–30 of 66 posts
Re: Passwordless Logins with Yubikey
#22Earlier quoted context omitted.
By stealing the device.
It's most likely easier to brute force a password than to break into someone's house. Would be easier to demand all credentials by gunpoint with that much effort.
Re: Passwordless Logins with Yubikey
#23I attached it to my key ring, and within about 8 weeks, the device was destroyed through the general wear and tear of being in my pocket. The plastic started chipping at one end of the device, and before the long the entire plastic shell shattered off completely exposing the board underneath.
Was a pretty big bummer, and kept me with going back to Authy. Are there any other hardware key/tokens that are maybe a bit more rugged?
Re: Passwordless Logins with Yubikey
#24https://www.openssh.com/txt/release-8.2
https://cryptsus.com/blog/how-to-configure-openssh-with-yubi...
TOTP with a PAM module is insecure since it's not cryptographically tied to the session like public key auth and can be phished. The author's suggestion to use it for passwordless login is dangerous when applied to SSH sessions!
Re: Passwordless Logins with Yubikey
#25Re: Passwordless Logins with Yubikey
#26Earlier quoted context omitted.
The auto lock on device removal with udev rule would be the same idea, in fact you could use any USB device like a basic flash drive if you wanted. Changing PAM's login to use the device for login would require a bit more device-specific stuff--I'd search around to see if Safenet already provides a module to drive PAM auth.
This pam_usb fork can be used to set up any USB for authentication: https://www.linuxuprising.com/2021/02/how-to-login-with-usb-...
Re: Passwordless Logins with Yubikey
#27This is a complete aside, but last year I purchased a keychain YubiKey 5, that supported USB-C and Lightning. I attached it to my key ring, and within about 8 weeks, the device was destroyed through the general wear and tear of being in my pocket. The plastic started chipping at one end of the device, and before the long the entire plastic shell shattered off completely exposing the board underneath. Was a pretty big…
Re: Passwordless Logins with Yubikey
#28Alternate title: guide to changing your single factor authentication from "something you know" to "something you have."
"Something you have" is generally an improvement over "something you know" for most people's account security. You have to remember where we are starting from - most people are still using the same password across all their accounts.
Re: Passwordless Logins with Yubikey
#29The only annoying thing about it is that "/etc/pam.d/sudo" gets overwritten on every macOS system upgrade.
https://apple.stackexchange.com/questions/259093/can-touch-i...