5 ms·
What are the alternatives now? I never really liked the Yubico stuff, though I have to admit that their hardware is well made.
by nixpulvis 5y ago
What are the alternatives now? I never really liked the Yubico stuff, though I have to admit that their hardware is well made.
- jolmg 5y agoI don't know of a similar product that supports tap-prompts and blinking lights[1] like Yubikeys do. Yubikey 4/5 still seem to be the best, IMO. [1] https://news.ycombinator.com/item?id=28765982 https://news.ycombinator.com/item?id=28765982
- tialaramex 5y agoIf you wanted OpenPGP to protect SSH, you should consider upgrading clients and servers to a modern OpenSSH which can just speak FIDO (which this and other recent Yubikeys support)
- jolmg 5y agoI haven't used FIDO. If you lose your FIDO key, do you have the option of buying another one and making it authenticate like the original without having to inform all the servers of the change? I think the only advantage of FIDO over OpenPGP is that some web services support it. Are there other advantages?
- staticassertion 5y ago> I haven't used FIDO. If you lose your FIDO key, do you have the option of buying another one and making it authenticate like the original without having to inform all the servers of the change? I think this is technically possible (some keys let you access the seed iirc, though the FIDO counter would not match) but not recommended. Instead you'd just register two keys so that if you lose one you have a backup.
- tialaramex 5y agoYes, you would need to inform all the servers of the change, a compliant FIDO authenticator shouldn't be clonable. However, if you've got a whole bunch of servers you can do SSH certificates instead of raw keys, and then you only need to go through the process once (to get the certificate) since the servers just care that your certificate was signed by the authorised CA. That definitely makes sense if you're at the "cattle not pets" level of servers where you don't care which server this is, and it can start to make sense even at the scale I grew up with where servers have themed names, so really by the time "All the servers" seems like a genuinely annoying problem, you ought to be rolling out certificates. Once upon a time I'd have argued that some of the other tricks to do centralised key auth are good, but I think on balance you should just go with certificates. FIDO is cheaper, although obviously if you already have OpenPGP you don't care about that.
- jolmg 5y ago> Yes, you would need to inform all the servers of the change, a compliant FIDO authenticator shouldn't be clonable. Depends on how you define clonable, but that shouldn't be a requirement to be able to avoid having to inform servers. OpenPGP smartcards can't be cloned in the sense of being able to read the key off them, but you can write the key to them. So a key-pair can be generated outside, written to the smartcard and backed up however one considers sufficiently secure. If the smartcard is lost, one can buy another one and write the key from the backup. The old smartcard being lost is not much of a concern either, since if the password is entered incorrectly a few times, the smartcard becomes blocked. > However, if you've got a whole bunch of servers you can do SSH certificates instead of raw keys, and then you only need to go through the process once (to get the certificate) since the servers just care that your certificate was signed by the authorised CA. Not all circumstances are equal. Some servers are too old to support certificates :(, and upgrading just the ssh servers is unvalued and non-trivial (I don't know if OpenSSH still even supports the OS). Also, servers are not all under the same organization, so no unified CA. Authenticating via OpenPGP requires no server considerations. It works everywhere and is a personal decision rather than an organizational one.
- tialaramex 5y ago> So a key-pair can be generated outside, written to the smartcard and backed up however one considers sufficiently secure. Presumably you're comfortable with this, but there's no reason the server operator should be. It's pretty obvious where the weakest link is. Also this is pretty inherently contrary to the design of FIDO, because it privileges these private keys as special whereas in FIDO they're random and you can just mint more of them (in FIDO1 it's completely normal to make huge numbers of keys, since you aren't storing them anyway). In the original OpenPGP case where the keys are personal identity keys for signing email that feels reasonable, but already for SSH that's not really what you needed anyway. It is true that OpenPGP is much better if you were obliged to do RSA for compatibility reasons, but I think we'd all like to move away from that world even if some of us can't yet.
- deleted 5y ago