Pgp Key Info
pgp_key_infoInspect an OpenPGP public key (ASCII-armored or base64 binary) the way gpg --show-keys does, offline: primary key and subkey fingerprints and key IDs (v4, v5 and RFC 9580 v6 keys), algorithm and size / curve (RSA, DSA, ElGamal, ECDSA, ECDH, EdDSA, Ed25519 / Ed448, X25519 / X448), creation and expiry from the self-signatures, revocations, capabilities (certify / sign / encrypt / authenticate), user IDs split into name / email / comment, preferred algorithms and features, the armor CRC-24 check and Web Key Directory (WKD) URLs for each email. Flags weak or deprecated keys, SHA-1 self-signatures, expired keys and keys without an encryption subkey. Private key blocks are refused. Price: $0.002 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/pgp-key-info
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": "pgp_key_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ASCII-armored public key block or base64 of the binary key | |
| now | No | Unix time for expiry checks (default: now) |