Yubico / yubikey-manager-qt

Cross-platform application for configuring any YubiKey over all USB interfaces.
https://developers.yubico.com/yubikey-manager-qt/
BSD 2-Clause "Simplified" License
237 stars 30 forks source link

[Feature Request] Export Certificate Public Key to OpenSSH AuthorizedKeys Format #351

Open sbarnes-tecnica opened 7 months ago

sbarnes-tecnica commented 7 months ago

I extensively use my Yubikeys to authenticate to remote servers and it would be nice if there were an option in the PIV application to export a certificate's public key in the native OpenSSH AuthorizedKeys format in addition to .crt/.pem.

Example output:

YubiKey PIV 22537740

Slot 9a

Certificate Serial: 123456

ssh-rsa AAAAMYCERTIFICATEPUBLICKEY