Contents
- Why consider a new version of OpenPGP keys?
- What changes between V4, V5 and V6?
- Why do some keyservers strip parts of modern keys?
- What does Keys2 support?
- How do you publish a modern key on Keys2?
- How does CH-J Tools work with Keys2?
- What can CH-J Tools Mobile do?
- How do you use Keys2 in scripts and automation?
- How do you gradually switch to modern keys?
- Frequently asked questions
Why consider a new version of OpenPGP keys?
Most OpenPGP keys in use today are in the V4 format, introduced more than twenty years ago. It works well, but was designed for older algorithms and uses SHA-1 for fingerprints. RFC 9580, published in 2024, introduces the V6 format with SHA-256 fingerprints, mandatory support for the modern Ed25519 and X25519 curves, and better protection for encrypted data. The follow-up RFC 9980, published in June 2026, adds post-quantum algorithms intended to withstand future quantum computers.
Post-quantum protection already matters. An attacker could store encrypted email today and decrypt it years later, once a sufficiently powerful quantum computer is available. The hybrid keys in RFC 9980 combine a proven classical algorithm with a post-quantum one, so the message stays protected as long as at least one of them remains secure.
A new key is useful only if the other person can download it in full. This is where it became clear that not every keyserver can handle modern certificates.
What changes between V4, V5 and V6?
- V4 (RFC 4880, now part of RFC 9580): the most widely used format. Its fingerprint has 40 hexadecimal characters and is based on SHA-1.
- V6 (RFC 9580): the SHA-256 fingerprint has 64 characters, signatures include a random salt, and encryption uses authenticated modes. It is supported by Sequoia PGP, rPGP and CH-J Tools, among others.
- LibrePGP V5: a separate branch used mainly by GnuPG 2.4. It is not compatible with V6, although it addresses similar problems.
- RFC 9980 post-quantum algorithms: hybrid ML-DSA signatures with Ed25519 or Ed448, purely hash-based SLH-DSA signatures, and hybrid ML-KEM encryption with X25519 or X448.
Post-quantum signing keys require the V6 format. The ML-KEM-768 + X25519 hybrid encryption subkey is an exception: RFC 9980 also allows it in a V4 certificate, so you can add post-quantum encryption to an existing V4 key while keeping its fingerprint.
Not every application supports V6 and post-quantum algorithms. Before switching entirely to a new key, check what your correspondents use and, if necessary, keep a classical key for older software as well.
Why do some keyservers strip parts of modern keys?
A keyserver has to parse each certificate and verify its signatures. If it does not recognise an algorithm, it cannot check the signature. Some servers reject such a certificate; others store only the parts they understand and silently discard the rest. The user's software then reports a successful upload, but the downloaded certificate cannot be used.
CH-J encountered this on its own Hagrid-based server, keys.ch-j.de. For certificates with a post-quantum primary key, it returned only the bare primary key, without signatures or subkeys, even though the upload completed without an error. This led to the creation of Keys2: a server that verifies modern certificates and serves them in full.
What does Keys2 support?
- OpenPGP V4 and V6 under RFC 9580, verified using the Sequoia PGP library.
- All seven post-quantum algorithms in RFC 9980 (numbers 30 to 36): ML-DSA-65 + Ed25519, ML-DSA-87 + Ed448, SLH-DSA-SHAKE-128s, 128f and 256s, ML-KEM-768 + X25519 and ML-KEM-1024 + X448.
- LibrePGP V5 as a compatibility profile for keys from GnuPG 2.4, verified using the RNP library. This profile does not support Ed448 or X448.
- HKP and VKS interfaces over HTTPS, with IPv4, IPv6 and HTTP/3.
The public capabilities endpoint returns the current list of algorithms and profiles. It is useful for scripts that need to check whether the server accepts a particular key type before uploading it.
curl -fsS https://keys2.ch-j.de/api/v1/capabilitiesIn an interoperability test on 8 November 2026, Keys2 accepted all 30 test certificates from CH-J Tools, GnuPG, rPGP and Sequoia PGP through VKS and returned them by fingerprint, complete with subkeys.
The server's post-quantum support uses the Sequoia/RustCrypto implementation, which its authors still describe as experimental. Keys2 uses it only with public data, never with private keys. The interoperability test result is not a security certification.
How do you publish a modern key on Keys2?
The process is the same as for a classical key. Export the public certificate and upload it through the website, VKS or HKP. Both Sequoia PGP (the sq program) and GnuPG can export a key to a file; replace FINGERPRINT with the key's full fingerprint.
sq cert export --cert FINGERPRINT > public-key.asc
curl -fsS -H 'Content-Type: application/json' \
--data "{\"keytext\": $(jq -Rs . < public-key.asc)}" \
https://keys2.ch-j.de/vks/v1/uploadThe response contains the fingerprint and the status of the email addresses. Addresses are initially unpublished; verify them through the keys2.ch-j.de website. After uploading, download the key again and compare the fingerprints and number of subkeys. This checks that the server accepted the complete certificate.
curl -fsS https://keys2.ch-j.de/vks/v1/by-fingerprint/FINGERPRINT -o check.asc
sq inspect check.ascThe output should show the same primary key and subkey algorithms as your original certificate. If the server rejects the certificate, the API response includes a stable error code, such as unsupported_algorithm or invalid_signature, and the server never presents an unsupported key as valid.
How does CH-J Tools work with Keys2?
CH-J Key Generator in CH-J Tools creates OpenPGP keys ranging from the historical V2 and V3 versions to V6, including post-quantum profiles. For each version, it shows the specification it is based on and marks older options as obsolete. Since version 0.1.3, Keychain publishes V4 and V6 certificates directly to keys2.ch-j.de.
- Create a key in the generator and save it to Keychain. The private key stays in the local encrypted vault.
- In Keychain, choose to publish to keys2.ch-j.de. The application checks that the server returned the same fingerprint.
- Use the availability check to find out whether the key is on the server and whether it has been revoked.
- When you revoke a key, the application publishes a signed revocation. If publishing fails, the key remains revoked locally and the application offers to retry.
Quick signature verification can automatically download the public key from Keys2 using the fingerprint stored in the signature. You can optionally enter the signer's expected fingerprint. The window shows whether the key is revoked on Keys2 and reports an altered file as a signature that does not match the file.
The application publishes and searches for only V4 and V6 formats on Keys2. You can upload V5 keys from CH-J Tools to Keys2 manually through the website or GnuPG; Keys2 does not accept the historical V2 and V3 formats.
What can CH-J Tools Mobile do?
The mobile app has its own keys2.ch-j.de screen. It searches by fingerprint, Key ID or email address on Keys2 first and, on request, also on the external servers keys.openpgp.org, keyserver.ubuntu.com, pgpkeys.eu, sks.pod01.fleetstreetops.com, keys.gentoo.org, Mailvelope and Proton, with the same consent for email addresses as on the website. For a key it finds, it shows the details, subkeys and technical history, and it can import the key into the keyring on the phone.
You can publish your own key from the mobile keyring to Keys2 and check whether the server returns it and whether it has been revoked. This lets you find a key created in CH-J Tools on your computer from your phone, and vice versa, without transferring files.
How do you use Keys2 in scripts and automation?
Keys2 is also useful for verifying signatures in deployment scripts and CI. Always download a project's signing key using the full fingerprint stored in your repository or configuration, never by name. Then verify the signature and compare the signer's fingerprint.
FINGERPRINT=0123456789ABCDEF0123456789ABCDEF01234567
gpg --keyserver hkps://keys2.ch-j.de --recv-keys "$FINGERPRINT"
gpg --verify package.tar.gz.asc package.tar.gzThe public API returns certificate details in JSON and the certificate's history. A script can use this to check whether the key has been revoked or has expired before deployment.
curl -fsS https://keys2.ch-j.de/api/v1/keys/FINGERPRINT/info
curl -fsS https://keys2.ch-j.de/api/v1/keys/FINGERPRINT/historyThe server limits the number of requests, so cache results in your scripts and avoid querying in a loop. The API tab on keys2.ch-j.de lists all endpoints.
How do you gradually switch to modern keys?
- Find out what software your correspondents and the systems that verify your signatures use.
- Create a new V6 key, optionally with post-quantum algorithms, and create a revocation certificate for it straight away.
- Publish the new key on Keys2 and check that it is returned in full.
- Sign a message announcing the new key's fingerprint with the new key, and sign it with the old key as well. This lets the other person see that the holder of the original key made the change.
- Keep the old key valid during a transition period. Revoke it once everyone has switched to the new one, or immediately if it has been compromised.
For most people today, a sensible approach is to have one modern key for communicating with people whose software supports V6, and a classical V4 key with Ed25519 for older applications. Keys2 stores and serves both in full, so you do not have to choose between a modern format and availability.
Frequently asked questions
Do I need to switch to a post-quantum key now?
No. Classical Ed25519 and X25519 keys are secure today. Post-quantum algorithms are especially useful for encrypted communications that need to remain confidential for many years.
Can GnuPG read a V6 key?
GnuPG 2.4 uses its own LibrePGP V5 format and does not support V6 under RFC 9580. For V6, use software such as Sequoia PGP, rPGP or CH-J Tools.
Will Keys2 store a post-quantum key in full?
Yes. Keys2 verifies and serves the primary key, subkeys and signatures for all seven RFC 9980 algorithms. After uploading, you can check this by downloading the key by fingerprint.
Why is post-quantum support marked as experimental?
The library Keys2 uses for these algorithms is still classified as experimental by its Sequoia authors. The server uses it only with public data, so this does not affect the security of your private key.
How can I find out which algorithms the server currently supports?
Call https://keys2.ch-j.de/api/v1/capabilities. The endpoint returns the enabled versions, profiles and post-quantum algorithms.