yubikey-openpgp-keys-info
Query an OpenPGP key slot on a YubiKey to retrieve its key type, fingerprint, and creation date. Supports signature, encryption, authentication, and attestation slots.
Instructions
Get metadata about an OpenPGP key slot: key type, fingerprint, creation date
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Serial number of the YubiKey. Omit if only one key is connected. | |
| key | Yes | OpenPGP key slot to query: sig (signature), enc (encryption), aut (authentication), or att (attestation) |