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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"key": "<key>"
},
"name": "yubikey-openpgp-keys-info"
}
}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) |