← Ziding Zhang

Publish under a pseudonym now, prove it was you later

A small tool that signs research as a pseudonym with post-quantum signatures, hides your real name in a commitment you open only when you choose, and checks each release for leaks.

November 9, 2026 · Project


Not reviewed by a cryptographer.

Some research is easier to publish without your name on it, because of an employer, a field’s politics, or work you want judged on its own merits. A pseudonym gives you that. Usually, though, it costs you the option of ever claiming the work. pseudokit keeps that option open. A persona signs everything it publishes, and its first post contains a sealed commitment to your real name. Years later you can open it, and anyone can check that the persona named you from day one.

Download: pseudokit.py (signing, commitment, reveal) · leakscan.py (pre-release leak check) · test_kit.py · README · MIT licence. Both tools are single Python files that use only the standard library and need OpenSSL 3.5 or later.

How it works

  1. Two keys, two signatures: the persona gets an Ed25519 key and an SLH-DSA key. SLH-DSA is the NIST post-quantum standard (FIPS 205) that relies only on hash functions. Every file is signed by both, and a check fails unless both verify. Ed25519 is small and widely supported. SLH-DSA is the one that holds if large quantum computers arrive, at the cost of 30 KB signatures.
  2. A sealed name: commit hashes a short statement with 32 random bytes: persona name, key fingerprints, your real name, and a URL where you’ll confirm it later. The hash is SHA3-512. Only that hash goes into the persona’s signed first post, genesis.txt. Without the random bytes, nobody can test guesses like “is it Alice?”.
  3. Releases: manifest takes a SHA-512 hash of every file and signs the list. Git’s own commit IDs are SHA-1, so signing a commit alone is weaker than it looks.
  4. Private proof: someone gives you a random string and you sign it with the persona key. The signed message doesn’t contain your name, so if they forward it, it doesn’t connect you to the persona. They only know it’s you because you handed it over.
  5. Reveal: reveal publishes the random bytes and the statement, signed by the persona. You also post a short note from your real-name account. Anyone can run verify-reveal against the persona’s original genesis.txt.

What it proves, and what it doesn’t

ClaimStatus
The same author made every releaseProven by both signatures
The persona named this person from the startProven by the commitment in the signed genesis file
The named person agreesNot proven by the tool alone: the real-name account has to post a confirmation. Otherwise anyone could create a persona that claims a famous name.
When genesis was writtenNot proven by the tool alone: the date in the file is self-reported. Timestamping it with OpenTimestamps, which anchors a hash in Bitcoin, fixes this. A classical signature anchored before quantum computers exist stays believable afterward.
Nobody can unmask youNot proven, and see below

Another small tool built the same way: Sentence Workbench.

Agent context: sources, method and working notes

Your writing is the bigger leak

The cryptography is the easy part. Pseudonyms are usually broken by ordinary details, not by breaking the math:

  • Writing style and topic choice: these are now cheap to match with language models. One 2026 preprint built an LLM agent for this, tested on news articles.
  • Timing: commit timestamps that reveal your time zone and working hours, and a persona that starts posting the week your own blog goes quiet.
  • Paths and metadata: home-directory paths in logs and notebooks, metadata in PDFs and images, and machine hostnames.
  • Shared accounts: the same card on the GPU rental, the same SSH key, or your real account starring the persona’s repos.

leakscan.py catches the mechanical part. You give it a private list of terms to hide, such as your name, emails, hostnames and employer, and keep that list outside every repository. It searches files, file names, binaries, PDF/PNG/JPEG metadata, notebook outputs, LaTeX leftovers and the full git history, including deleted lines and past author names. It also flags home paths, email addresses, credentials, non-UTC commit timezones and extra git identities. It exits with an error so it can block a push.

It can’t judge your writing style or your choice of problem. In a small field, those may identify you before anything else does.

A pseudonym also doesn’t change what your employment contract lets you publish, and it won’t survive a court order to the platforms you use. A reveal is a signed admission that you wrote everything the persona published.

Status

Working version, 2026-11-09:

  • Tests: 15 end-to-end tests pass on OpenSSL 3.6.1 (macOS); the earlier 13-test version also passed on OpenSSL 3.5.7 (Debian trixie). They cover tampered files, a forged second signature, an impostor’s keys, a reveal with a swapped name, and an impostor’s self-consistent reveal bundle, which is rejected when checked against the original genesis.
  • Fixed, 2026-11-09: the leak scanner flagged every correct UTC commit as non-UTC, because git writes UTC times ending in Z. A test now covers this.
  • Fixed, 2026-11-09: the leak scanner flagged public key files (.pem) as possible secrets. It now flags only files that actually contain a private key.
  • Worked around, cause unknown: about one test run in 20 failed because OpenSSL didn’t use a key passphrase it had been given. I couldn’t reproduce it outside the test suite. The tools now retry that one error, and 20 runs since have all passed.
  • Not tested: the OpenTimestamps step, which is documented only.
  • Known gaps: passphrase-protected keys rely on OpenSSL’s encryption. There’s no hardware-key support, and the identity commitment can’t be rotated.
  • Not reviewed: no cryptographer has checked the design. Read the roughly 830 lines of the two tools before you trust them.
Changes
  • November 17, 2026: Shortened to the result and what it means; method, verification and limits moved under Agent context.