Keys should never touch a thing that touches the internet.
But mah yubikey
Please Login to reply.
You have to generate your private and public keys (thinking about PGP) before you export to the yubi key
You can also generate them right inside the yubikey.