Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By kattakathv2.0.2MITIn 1 marketplace
Run GnuPG from an agent that has no TTY: decrypt to the clipboard without the plaintext ever entering the transcript, encrypt to a recipient's key without importing it, prove who can decrypt a message and whether two keys are the same from the packets, and back up a key with a restore test that writes nothing.
Claude loads one when your task matches it, or you run it by name.
GnuPG from an agent session: decrypt to the clipboard, never to the transcript; encrypt to someone else's key without importing it; and prove every answer about a message or a key from its packets instead of assuming it.
1. An agent's shell has no TTY, so a curses pinentry cannot ask for the passphrase. The fix is a
real terminal window running one decrypt (scripts/gpg-in-window.zsh). It has two measured traps:
a fresh window's pty is 0×0 when the command starts, so pinentry dies with "Screen or window
too small" unless you wait for stty size; and the terminal's own TERM may be unknown to the
pinentry's ncurses. The script handles both and writes a status file that carries lengths and flags,
never plaintext.
2. "Who can read this?" is a packet question. A public key cannot decrypt anything. Whether the
holder of key K can read message M is whether M carries a session key for K's encryption
subkey — gpg --list-packets answers it with no passphrase. "Same key?" is --dearmor + cmp
plus fingerprints. "What does this decrypt to?", for a message you produced for someone else, is a
cmp against your saved ciphertext, because you cannot decrypt it.
| Topic | Why it is there |
|---|---|
| Concealed, auto-clearing clipboard | Decrypted text goes through pb-conceal when present: clipboard managers do not record it, Universal Clipboard does not sync it, and it clears after $PGP_CLEAR s. Plain pbcopy would put it in Maccy-style history on disk |
| GUI pinentry first | With a GUI pinentry (pinentry-mac, Save-in-Keychain disabled) everything runs in the agent's own shell; the terminal-window route remains for curses-only setups |
| Clipboard in, clipboard out | Decrypt the message already on the clipboard (-), or encrypt-for: clipboard plaintext → message to the recipient and you, with no passphrase and no window; your own key's presence among the recipients is checked before the clipboard is replaced. sign opts into a signature |
| Signing ≠ readable later | Reading your own sent copy needs you as a second recipient; a signature only proves authorship |
| One-line armor repair | Chat boxes strip newlines; gpg then says "no valid OpenPGP data found" |
| Key generation choices | A PGP key built from an SSH key is linkable to the user's forge account even with no user ID |
| Backups | Single-line base64 (the macOS Keychain returns multi-line values as hex), stored unexported, verified by hash, restore-tested with --show-keys (writes nothing) |
| Fleet adapter | The kattakath fleet's set-secret / secrets-push lane, and the gcloud identity trap |
gpg (GnuPG 2.x), pbcopy/pbpaste (macOS), and a terminal that can open a window running a
command (measured with Ghostty 1.3; Terminal.app is the untested alternative).
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub kattakath/skills --plugin pgp-opsPlugins from other owners that cover similar ground