yubico-piv-tool

Command-line tool for managing YubiKey PIV application and certificates

brewmacoslinux
Try with needOr install directly
Source

About

Command-line tool for the YubiKey PIV application

Commands

yubico-piv-tool

Examples

List all certificates and keys on the YubiKey$ yubico-piv-tool -a status
Generate a new RSA 2048-bit key in slot 9a$ yubico-piv-tool -a generate -s 9a -A RSA2048
Import a certificate into slot 9a$ yubico-piv-tool -a import-certificate -s 9a -i certificate.pem