A minimal, modern OpenPGP app for Windows, clipboard-first, with no UI bloat: paste to decrypt or encrypt, and everything stays on your device.
| Workbench, one paste surface, auto-detects | Keys, your keyring at a glance |
|---|---|
![]() |
![]() |
Everything you need for personal daily OpenPGP use, nothing else:
- Workbench, one paste surface that auto-detects what you pasted: an OpenPGP message (→ decrypt & verify), a signed message (→ verify), a public/private key block (→ import), or plain text (→ compose, pick recipients, encrypt & copy). Whitespace-mangled armor from chat apps still parses.
- Keys, a flat, searchable list of your keyring. Generate keys (Ed25519/X25519 by default, RSA-3072/4096 under Advanced), always with a chosen expiry; copy public/private to the clipboard in one click; rename keys, change passphrases, extend expiry, and generate revocation certificates.
- Cryptography never touches the network. No keyserver, no WKD, keys enter your keyring only by paste/import. The app's single possible network call is an optional, signature-verified update check against the project's GitHub releases (on by default; disable it in Settings).
- In-app updates. When a new release exists you get a notification with one click: the update is downloaded from GitHub, verified against a minisign public key baked into the app, installed, and the app relaunches.
- Private keys are passphrase-encrypted at rest. No plaintext secret ever touches disk; passphrases live in memory only for the single operation that needs them.
Windows 10/11, grab the latest release from the releases page:
PGPBench_<version>_x64-setup.exe, the installer (per-user, no admin prompt). Adds Start-menu entries and an uninstaller.pgpbench.exe, the portable build. One file, no install; put it anywhere and run it. Requires the WebView2 Runtime (preinstalled on current Windows 10/11).
The app's only possible network call is the optional, signature-verified update check - everything you do with your keys stays on this device.
npm install # once
npm run tauri dev # run the app in development
Build the portable executable:
npm run tauri build -- --no-bundle
# → src-tauri/target/release/pgpbench.exe (portable, needs WebView2 Runtime)
The exe is self-contained apart from the WebView2 Runtime, which is preinstalled on Windows 10/11 and downloadable from Microsoft.
%LOCALAPPDATA%\PGPBench\
keys\<FPR>.pub.asc armored public key (exactly what you paste into an email)
keys\<FPR>.sec.asc passphrase-encrypted armored secret key
keys\<FPR>.rev.asc revocation certificate
index.json rebuildable cache (never source of truth)
settings.json theme, clipboard auto-clear, default profile
One armored file per key: a corrupt file loses exactly one key, and backing up is a file copy. The directory is inside your per-user profile directory; its ACL is verified at startup and a persistent warning is shown if other users can read it.
2026 reality: stock GnuPG/Thunderbird implementations speak LibrePGP (v4) and
cannot read RFC 9580 v6 keys (GnuPG needs ≥ 2.5.23 plus the
--allow-9980 option). PGPBench therefore defaults to the profile that
works everywhere:
| Profile | Default? | Key format | Protection | Interoperates with |
|---|---|---|---|---|
| Compatible | ✔ | v4, Ed25519/X25519 (legacy IDs) or RSA-3072/4096 | iterated+salted S2K (SHA-256, AES-256), no AEAD, no compression | GnuPG 2.4+, Thunderbird, Mailvelope, mobile clients |
| RFC 9580 | opt-in, marked experimental | v6 keys | AEAD (OCB), Argon2 S2K | modern libs only |
The profile is chosen per operation (Advanced panel) and derived per key; PGPBench refuses to emit RFC 9580 ciphertext to v4 recipients and explains why, and warns when v6 recipients appear in a Compatible context.
tests/interop.ps1 drives the app's real Rust core (via the
interop-cli harness binary) against stock GnuPG. All 14 cases pass
against GnuPG 2.5.24, key imports in both directions (ECC, RSA-4096,
passphrase-protected secret files, gpg --export-secret-keys), sign+encrypt
round-trips, clearsign, detached signatures, old RSA keys, bumped subkey
expiry, revoked-key encrypt blocking, oversized/garbled paste rejection,
and whitespace-mangled armor. Run it with:
powershell -File tests\interop.ps1
- Single engine: rPGP 0.21 (native Rust). No JS crypto, no Argon2-WASM,
no
wasm-unsafe-evalin the CSP. - One network call, ever - and it's optional. The app can perform a single HTTPS request: the update check against this repository's GitHub releases. Nothing is transmitted except the request itself - no telemetry, no identifiers, no key material; and the downloaded update must verify against a minisign public key baked into the app before it is installed. The check runs on launch by default and can be disabled in Settings (making the app fully air-gapped again). Everything cryptographic - keys, encryption, verification - never touches the network.
- Decrypt-then-verify, always. Verification outcomes show the signer's
fingerprint and key source (own key / imported / unknown), no invented
trust model, no bare green checkmarks. A
write_secrethint keeps ciphertext, keys and decrypted text out of the Windows clipboard history (Win+V) and cloud sync; the clipboard auto-clears (default 60 s, configurable) and is only ever read when you click "Paste from clipboard". - Private key material never crosses the app boundary. Copying a private key reads and clips the armored file entirely inside Rust; the UI only ever sees public keys, metadata, results, and verification outcomes.
- Hard rejects with clear messages: DSA/Elgamal keys, secp256k1, v2/v3 keys, and keys missing key-flag subpackets (the last one can be allowed via the legacy override under Advanced).
- Paste size cap of ~1 MB; untrusted text is validated before it is ever rendered.
- Atomic writes (temp file + rename, one
.bakkept) so a crash can corrupt at most one file, never the whole keyring.
- No symmetric/password-only encryption, no smartcards/YubiKey, no X.509/S-MIME, no web-of-trust UI, no file/archive encryption.
- No keyserver or WKD lookups, keys arrive by paste or import.
- "Binary" output is presented base64-wrapped for clipboard transport; clipboard-first means armor is the native format.
- No "remember passphrase", every passphrase-using operation prompts (in-app modal, never an external pinentry window).
- v6/RFC 9580 is behind a clearly labeled experimental opt-in; the wider ecosystem is still catching up.
- Frontend: Vite + TypeScript + React + Tailwind 4, hand-rolled components.
npm run devserves the UI in a plain browser with a mock backend (src/mock.ts) so every flow can be exercised without Tauri. - Backend: Rust (
src-tauri/), modules:keygen(both profiles, expiry re-signing, revocation certs),msgops(encrypt/decrypt/sign/verify with decrypt-then-verify),store(the%LOCALAPPDATA%keyring),armorfix(whitespace-tolerant armor),commands(the Tauri command layer). cargo test --libcovers keygen round-trips, at-rest encryption of every secret packet, armor mangling, and a sign+encrypt → decrypt+verify round-trip.PGPBENCH_DATA_DIRoverrides the key store location (used by the interop harness and tests to isolate state; your real keys live in%LOCALAPPDATA%\PGPBench, which Windows cleanup never touches).- CI runs the full test suite on every push; pushing a
v*tag builds both release artifacts on GitHub's runners and attaches them to the release automatically (.github/workflows/release.yml).
MIT OR Apache-2.0 (matching rPGP and the Tauri stack).


