/gpg-ops:gpg-verifyfrom gpg-ops
Verify a GPG signature on a file or clear-signed text. Use when the user has downloaded a release artefact + `.sig`/`.asc` and wants to confirm authenticity, or received a clear-signed message and wants to check it. Distinguishes "good signature, untrusted key" from "good signature, trusted key" — both are cryptographically valid; only the latter proves identity.
Ships in gpg-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The user has a signature to verify:
<file> + <file>.sig (or .asc).-----BEGIN PGP SIGNED MESSAGE----- block).gpg-decrypt.gpg --verify <file>.sig <file>
Or, if the signature filename matches the data filename with a .sig / .asc suffix, GPG auto-detects:
gpg --verify <file>.sig
gpg --verify <file>.asc
Prints Good signature from … and outputs the embedded message to stderr. To extract just the message body:
gpg --decrypt <file>.asc > message.txt
(Yes, --decrypt works on clear-signed text — it strips the signature wrapper while verifying.)
A passing verification prints something like:
gpg: Signature made <date>
gpg: using EDDSA key ABCDEF1234567890
gpg: Good signature from "Real Name <[email protected]>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no assurance this key belongs to the named user.
Primary key fingerprint: 1234 5678 ...
Three things to check:
Good signature — cryptographic check passed; the signature matches the data and the signing key.[unknown] / [marginal] is a warning, not a failure. If the user has independently confirmed the fingerprint, they can locally sign the key:
gpg --lsign-key <fingerprint>
Future verifications then show [full] and skip the warning.BAD signature — the file has been modified since signing, or the signature is corrupt. Do not trust.Can't check signature: No public key — you don't have the signer's public key on the keyring. Fetch it:
gpg --keyserver keys.openpgp.org --recv-keys <KEYID>
…or import from a .asc file the signer provided. Then re-run --verify.Signature made <date> ... key has expired — signature is mathematically valid but was made with an expired key. Up to the user whether to trust depending on context (was it signed before expiry?).Standard pattern:
gpg --keyserver keys.openpgp.org --recv-keys <PROJECT-KEYID>
gpg --verify release-1.2.3.tar.gz.sig release-1.2.3.tar.gz
Confirm the printed fingerprint matches the project's published signing-key fingerprint. Don't skip the fingerprint compare — anyone can upload a key claiming to be the project.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
7 skills in this plugin
/gpg-decryptDecrypt a GPG-encrypted file (.gpg or .asc) using the local keyring. Handles both asymmetric (key-encrypted) and symmetric (passphrase-encrypted) ciphertext — GPG auto-detects which. Use when the user receives an encrypted file or has at-rest encrypted backups they need to read./gpg-encryptEncrypt a file or text with GPG to one or more recipients (asymmetric) or with a passphrase (symmetric). Use when the user wants to send confidential data to someone whose public key they have, or lock a file with a password. Defaults to ASCII-armored output and refuses to encrypt to keys with marginal/unknown trust unless the user confirms./gpg-export-public-keyExport a GPG public key in ASCII-armored form, ready to share, paste into GitHub, or upload to a keyserver. Use when the user wants to publish their public key, share it with a collaborator, or register it for signed commits. Selects the key by email, key ID, or fingerprint./gpg-generate-keyGenerate a new GPG keypair (primary signing key + encryption subkey) on the local GnuPG keyring. Use when the user wants to create a new GPG identity, set up signing for git commits, or create a key for encrypted email. Confirms key parameters before generation; defaults to ed25519/cv25519 with no expiry unless the user specifies otherwise./gpg-list-keysList GPG keys on the local keyring — public keys, secret keys, or both. Use when the user wants to see what keys they have, find a key ID or fingerprint, or check whether a contact's public key is already imported before encrypting to them./gpg-signSign a file or text with GPG — detached signature, clear-signed, or inline. Use when the user wants to publish a release artefact with a `.sig` file, prove authorship of a document, or sign a plain-text message that recipients can verify with their copy of their public key.gpg-ops@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin gpg-ops