CH-J Toolsserver management over SSH
Menu
All guides and articles →

OpenPGP key examples: V2–V6, classic and post-quantum

44 synthetic OpenPGP test keys generated by CH-J Tools, one category per key from version 6 down to historical version 2: key version, specification, fingerprint, public key, private key, revocation certificate and a detached signature of a 1 MB test file.

What this page contains

Each category is one complete OpenPGP identity generated by the CH-J Tools Key Generator: version 6 keys (RFC 9580) with classic and post-quantum algorithms (RFC 9980), LibrePGP version 5 keys, version 4 keys for compatibility including legacy RSA sizes, and historical version 3 and version 2 RSA keys kept only for history. Keys from version 4 up have a primary signing key and one encryption subkey; version 3 and 2 keys have no subkeys. Use the files to test import, signature verification, encryption and revocation handling in your own OpenPGP software.

Test keys only

These keys are synthetic. Their private keys and the passphrase are published on purpose, so anyone can sign or decrypt with them. Never use them for real data, and never treat a signature as trustworthy only because it verifies with one of these keys.

Why some programs reject some keys

OpenPGP versions and algorithms are supported unevenly. GnuPG 2.4 reads version 4 and 5 keys but not version 6 or the RFC 9980 post-quantum algorithms; Sequoia reads version 4 and 6 but not LibrePGP version 5, secp256k1 or RSA below 2048 bits. Version 3 and 2 keys use MD5 and IDEA and are read only by GnuPG 1.4 with weak-digest allowances or by historical PGP. Each category states the specification and the algorithms, so a rejected key usually points to a missing feature rather than a broken file.

Test file

All 44 signatures cover this single 1 MB file of random data. Download it once and compare its SHA-256 checksum before verifying any signature.

Download test_1MB.bin 1 048 576 bytes

SHA-256  10055956fa0fdd963344a0d80a3b9ccf3ed1d331569a23d8223bbf2e460ae972  test_1MB.bin

Categories

Version 6 · post-quantum (RFC 9580 + RFC 9980)

Version 6 · classic algorithms (RFC 9580)

Version 5 · LibrePGP (draft-koch-librepgp-06)

Version 4 · compatibility (RFC 2440 · RFC 4880 · RFC 9580)

Version 3 · legacy (RFC 1991 · RFC 2440 · RFC 4880)

Version 2 · legacy (RFC 1991 · RFC 2440)