Hacker News new | ask | show | jobs
by InsidiousWombat 12 days ago
and you should never do that

If you want secure the key, generate one on YK directly and use it. The entire point of hardware key storage is for key itself to never touch anything else

1 comments

I think that’s what OP meant to say. I don’t think yubikeys even provide the option to “upload” a private key.
FIDO2 is the only type of key that you can't import existing private keys for, since those are generated on device by design. Other types of keys you can of course upload a private key for, otherwise you wouldn't be able to add keys from your trusted CA for example.