Just posted https://news.ycombinator.com/item?id=50777668 .. the Yubikey only actually helps you in very limited ways compared to a strong-passphrase-protected key and might give you a false sense of security.
The problem is that the human touch feels like a security boundary, but it's not at all. The real security boundary is your software/OS, and anyone who has access to your box/homedir already owns everything. if an attacker can even just manipulate your PATH, which is just an environment variable, they own everything.
I mean, it still protects against a lot of stuff like malware that does keylogging (I mean they could access it on your machine after all), or reading things from your ssh agent, or stealing your key until some crypto weakness is found, computers get good enough and so on. It also lights up when the key is used if the touch is disabled. I suppose you could also just use the TPM for the most part though
The problem is that the human touch feels like a security boundary, but it's not at all. The real security boundary is your software/OS, and anyone who has access to your box/homedir already owns everything. if an attacker can even just manipulate your PATH, which is just an environment variable, they own everything.
Yubikeys are cool though.