Unseenet Working Group A. Lorensen
UN-RFC: 0025 October 2026
Category: Standards Track
Status: Draft
Implemented: unseenet 0.4.0
Updates: 0002, 0004, 0005, 0006, 0029, 0040
Unseenet: Key Ripening and Standing
Abstract¶
Identity keys are free, so a spammer can use a new key for every article and no ban or block ever reaches the next one. This document makes new keys cost something without giving anybody the power to decide who may post. A key ripens by a verifiable delay function (VDF) computed over its own public key: a sequential computation that takes real time on any computer, cannot be sped up by running it on many machines, and can be checked by anyone in milliseconds. The proof is published by the key itself, in a key-bound group of its own, so every node computes the same standing with no register, no clock and no third party. Riper keys pay less postage. Anything that lowers the price of posting must be verifiable from the article; anything that raises it is a local choice.
1. Motivation¶
UN-RFC 0006 prices articles, not identities. Bans (UN-RFC 0004) and hierarchy blocks (UN-RFC 0018 section 5.4) act on keys. Together they fail against the simplest spam script there is: new key, post, discard the key, repeat. Postage alone cannot close the gap, because SHA-256 is cheap on GPUs (UN-RFC 0006 section 5): any difficulty that stops a well-equipped spammer stops ordinary users first.
Nodes cannot limit posting by origin either, because a node must never learn where an article entered the network (UN-RFC 0001). The cost has to be attached to the key or the article.
The obvious fixes - a reputation service, nodes attesting how old a key is, requiring an existing member to vouch for newcomers - all create someone who can decide who may speak. A government, a company or a clique could then lock people out by pressure on a few operators. Unseenet does not allow that (section 8).
2. Terms¶
Ripening : The sequential work a key's holder has done on that key's VDF, measured in iterations t.
Level : A step on the ripening scale (section 4), derived from t.
Standing : Everything a node or reader uses to judge a key. In this document, only the level is part of the protocol. Local observations are allowed but are never required of anyone else (section 6).
3. The Ripening Proof¶
3.1 VDF¶
Ripening uses the Wesolowski VDF over class groups of imaginary
quadratic fields, as deployed in Chia (chiavdf). Class groups need no
trusted setup: nobody holds a secret that would let them ripen keys
faster than anyone else.
For an identity public key pk (UN-RFC 0003):
seed = H( DS("UNSEENET-RIPEN-1") || pk )
D = discriminant derived from seed, 1024 bits
x = the generator form (2, 1, c) of the class group of D
y = x^(2^t)
pi = Wesolowski proof that y = x^(2^t)
The discriminant derivation and the encoding of forms follow chiavdf
(create_discriminant, compressed form serialization). Section 10 lists
writing these out in full as an open item; until then chiavdf is the
normative reference for these two steps.
Because D is derived from pk, a proof belongs to one key and cannot
be moved to another.
3.2 Segments¶
A key ripens in segments, so that the work survives a restart: a
Wesolowski proof covers one computation from a start form to an end form
and cannot be continued or merged with another. Segment i starts at
x_i and runs t_i iterations:
x_1 = x (the generator, section 3.1)
y_i = x_i^(2^t_i)
pi_i = Wesolowski proof that y_i = x_i^(2^t_i)
x_(i+1) = y_i
The key's ripening is the chain of its segments, and its t is the
sum of their t_i. Each segment is verified on its own, about 4 ms
(section 4.1); y_i and pi_i are 100 octets each.
A chain has at most 64 segments. A client MAY choose shorter segments than below to bound the memory proving needs (section 7), and MAY stop below the top level when it cannot reach the next one within the 64 segments. Otherwise it SHOULD choose segment lengths so that a restart loses little and the chain stays short: 2^24 iterations until level 0, then the largest power of two that is at most half the t so far, at most 2^32, and never past the threshold of the next level (section 4). This reaches level 4 in 48 segments, and a client that stops loses at most the segment it was computing: about 3 minutes before level 0, and at the top about 11 hours on a fast desktop or 18 on an ARM server (with the low-memory prover, section 4). A client keeps the start form of its current segment in the vault (UN-RFC 0007) and starts that segment again after a restart.
3.3 The Ripening Group¶
A key publishes its chain in the manifest (UN-RFC 0004) of the key-bound group (UN-RFC 0029)
ripe@<fingerprint of the key>
with this object:
"ripening": {
"alg": "vdf-cg1",
"segments": [ {"t": <t_1>, "y": "<b64>", "pi": "<b64>"}, ... ]
}
A new version of the manifest MUST contain the chain of the version
before it as a prefix: a key's t only grows. A node MUST reject a
version that does not extend the chain it holds (441 ripening does not
extend), MUST refuse a chain of more than 64 segments, and refuses the
manifest article above 24 KiB (UN-RFC 0040 section 9).
The group is renewed and expires like the key's other key-bound groups (UN-RFC 0029). It carries no articles of its own.
3.4 Header¶
Key-Ripening: vdf-cg1; t=<iterations>; y=<b64>
Key-Ripening is a REQUIRED header from this document on (it is added
to the required headers of UN-RFC 0002 section 2). It lies outside the
canonical form, like Proof-Of-Work, so it does not change the
signature or the Message-ID, and a node forwards it unchanged. It names
the end of a segment in the author's chain: t is the sum of the
segments up to and including it, y its end form. It is about 175
characters, also on a chat line.
A node accepts the header when the chain it holds for the author's key
has a segment that ends at exactly (t, y). The level is the level of
t. A node:
- MUST check postage (UN-RFC 0006) before ripening, so that a flood of bogus articles costs the sender postage before it costs the node work;
- verifies a chain once and keeps the verified prefix, so a new version costs only its new segments;
- answers
441 ripening: unknownwhen it holds noripe@manifest for the key, or one without(t, y). A client that gets this answer posts itsripe@manifest and then the article again; - before it forwards an article to a peer (UN-RFC 0005 section 5.2),
offers the peer the author's current
ripe@manifest article first. A peer that has it already declines it as usual.
A client publishes a new version of its ripe@ manifest at least at
every level boundary, and uses the newest (t, y) it has published in
its articles.
3.5 Sealed Private Posts¶
A sealed post to an inbox (UN-RFC 0009) is signed by a fresh one-time key, so that nodes do not learn who writes to whom. A one-time key cannot ripen. A node therefore:
- does not require
Key-Ripeningon an article withEncrypted: sealedboxin aninbox@group, and - prices it as an unripe key where level
-is allowed: the node's or the inbox's minimum postage plus the surcharge of level 0 (section 5).
The sender's client SHOULD put its own Key-Ripening header in the
inner article, next to Sender-Key. Only the recipient sees it. The
recipient's client MAY check it against the sender's ripe@ chain and
hide posts from unripe or unknown senders. That is a local choice
(section 6), like any filter on the inner article, and it tells the node
nothing.
4. Levels¶
| Level | Iterations t at least | Fast desktop¹ | ARM server² | Surcharge s |
|---|---|---|---|---|
| - | below 2^26 | - | - | not accepted³ |
| 0 | 2^26 | ~10 minutes | ~17 minutes | +6 bits |
| 1 | 2^29 | ~1.5 hours | ~2 hours | +4 bits |
| 2 | 2^32 | ~11 hours | ~18 hours | +2 bits |
| 3 | 2^35 | ~4 days | ~6 days | 0 |
| 4 | 2^37 | ~15 days | ~24 days | -2 bits |
The times are those of one core, counted only while the program runs,
with the low-memory prover the reference implementation uses (chiavdf
1.2.1 prove_low_memory): the same proofs in nearly constant memory, at
about two thirds of the speed of chiavdf.prove.
¹ Measured: about 107,000 iterations per second with
prove_low_memory on one core of an AMD Ryzen 9 5950X (section 4.1);
chiavdf.prove reaches about 165,000, but needs memory in proportion to
the segment.
² Estimated: chiavdf.prove was measured at about 103,000 iterations
per second on one Ampere Neoverse-N1 core (Oracle Cloud Always Free),
close to what an older laptop is expected to manage; the times assume
the same slowdown as on the desktop. Laptops, phones and Raspberry Pis
are still to be measured (section 10).
³ Unless the group or node allows level - (section 5).
A key's level is the highest row whose threshold its proof meets.
4.1 Measurements¶
scripts/bench-ripening.py in the reference implementation measures
proving and verification on one core. First results, 1024-bit
discriminant:
| What | Ryzen 9 5950X | Neoverse-N1 (ARM) |
|---|---|---|
chiavdf.prove (squaring and proof) |
~165,000 it/s | ~103,000 it/s |
chiavdf.prove_low_memory (the same, nearly constant memory) |
~107,000 it/s | not measured |
vdf_bench square_asm (squaring only, hand-optimized assembly, as used by Chia timelords) |
~200,000 it/s | not measured |
chiavdf.verify_wesolowski, any t |
~3.7 ms | ~6.8 ms |
y plus pi |
200 octets | 200 octets |
A one-core ARM node can thus verify about 150 ripening proofs per second before caching, which is far more than the article rate of a small network.
A spammer with the best available software therefore gains only about a factor 1.3 over the reference client on the same processor. The gap between machines is the gap in single-core speed, a small factor, not the orders of magnitude of SHA-256 on GPUs.
5. Required Postage¶
This section replaces the formula in UN-RFC 0006 section 3:
required = max( floor_pow,
max(node_min_pow, group_min_pow) + s(level) )
where s(level) is the surcharge from section 4 and floor_pow is 12.
A key below the node's or the group's minimum level is not accepted.
The minimum levels are advertised like the minimum postage:
- a node advertises
UNSEENET-MINRIPE <level>(UN-RFC 0005), default 0; - a manifest MAY set
min_ripe(UN-RFC 0004), an integer level or-, default 0. A closed group may set-, because its owner already admits its members.
A node SHOULD NOT forward an article to a peer whose advertised minimum level the article does not meet, just as for postage.
With the RECOMMENDED defaults of UN-RFC 0006 (node 18, open groups 20) a brand-new key pays 26 bits in an open group, about a minute in CPython, while a key at level 4 pays 18 bits.
6. Local Standing¶
A node or a reader MAY judge keys by more than their level: the number of articles it has seen from the key, spam reports from issuers it follows (UN-RFC 0045), duplicate detection (#123), its own block lists. Such local standing:
- MAY make the node stricter for articles it accepts or forwards, and MAY make a client hide articles;
- MUST NOT be required of other nodes, and MUST NOT be presented to others as a property of the key;
- MUST NOT lower the price of posting below what section 5 gives.
This is the rule that keeps standing decentralized: anything that lowers the cost of posting is verifiable by anyone from the article itself; anything that raises it is a local choice. Nobody can take a key's level away from it on other nodes. Anyone who disagrees with a node's local choices can post through another node or run their own.
7. Clients¶
- A client SHOULD start ripening a key as soon as it is created, run it while the client is open, keep the chain and the start of its current segment in the encrypted vault (UN-RFC 0007), and go on after a restart (section 3.2).
- Proving a segment with
chiavdf.provetakes memory in proportion to its length (about 0.7 octets an iteration); the reference implementation proves in nearly constant memory where chiavdf hasprove_low_memory(section 4). A client SHOULD keep within the memory the machine has free, choosing shorter segments where it must (section 3.2), and SHOULD ripen one key at a time on a machine; where the next level cannot then be reached within 64 segments, it stops below the top and SHOULD say how far this machine can go. - A client SHOULD ripen to level 3, where the surcharge ends, and MAY offer to go on to level 4. Before it does, it SHOULD say what that costs - weeks of one core while the program runs (section 4), at this machine's speed where it knows it - and what it gives: 2 bits less postage, about a quarter of the work for each post. The choice belongs to the device that does the work, not to the identity, so two devices do not ripen one key at once. Programs that post a great deal (bots, gateways) gain the most from it.
- A browser client (UN-RFC 0043) ripens in the browser, with a WebAssembly build of the VDF. Nobody else ripens keys for it, so ripening stays a matter of one's own computer and time.
- A client SHOULD show the level and the time to the next level, and say plainly why a fresh key cannot post at once.
- A user who wants a one-off identity can still have one: it costs about ten minutes of waiting and a higher postage on its articles, not permission from anybody.
- On battery-powered devices a client SHOULD ripen only while charging, unless the user chooses otherwise.
8. Rationale¶
Why a VDF rather than more proof of work. Proof of work is parallel: a GPU farm does in a second what a laptop does in an hour. A VDF is sequential: the best hardware is only a small factor faster than an ordinary laptop core, so the spammer's advantage shrinks from several orders of magnitude to a constant. A spammer can still ripen many keys at once, but each key costs real core-time, so a key that gets banned is a loss. That is enough to make bans and blocks meaningful again, which is the point.
Why not memory-hard postage (Argon2id). It narrows the GPU gap but costs as much to verify as one attempt, which turns verification into a denial-of-service lever against nodes. A Wesolowski proof is verified in milliseconds.
Why no attestations, reputation servers or required vouching. Each of them creates an authority. Whoever runs the service, or the nodes whose attestation counts, could be pressured to refuse keys. Ripening needs only the key holder's own computer and time. Vouching may come later as an optional shortcut, but never as the only way in.
Why a chain in a group of its own. A Wesolowski proof cannot be continued, so a key that ripens for days on a laptop that is switched off every evening needs segments. A chain of dozens of segments is too large for every article, chat lines included, so it is published once, where profiles are (UN-RFC 0022), and articles point into it. Nodes then verify a key once, not every article.
Why private posts are exempt at the node. Requiring ripening on the outer article would make the sender's key visible to nodes, and with it who writes to whom, which UN-RFC 0009 exists to hide. The level 0 surcharge keeps sealed posts as expensive as posts from a brand-new key, and the inner header lets the recipient judge the sender.
Transition. None: while Unseenet is pre-alpha there is no backwards compatibility. Existing keys ripen once to level 0 before they post again.
Why levels and not a continuous formula. Levels are easy to advertise, to explain to users and to change by a later document.
9. Security Considerations¶
- Botnets. A botnet ripens many keys in parallel. Ripening does not make spam impossible; it makes every key cost real time, so that bans, blocks and spam reports cost the spammer something.
- Faster software and hardware. Hand-optimized code is about 1.3 times faster than the reference client on the same processor (section 4.1); the fastest desktop cores are a small factor faster than old laptops. Dedicated hardware might do more, perhaps a factor of ten. All of this shortens ripening for one key; none of it makes thousands of keys cheap.
- Stolen keys. A thief who takes a vault also takes the ripening of its keys. This is one more reason to protect the vault (UN-RFC 0007).
- Trade in ripe keys. Ripened keys could be sold. A sold key is still one key and is lost when banned or reported.
- Linkability. The level shows roughly how much work went into a key. It reveals nothing about the holder or where they post from.
- Parameters. 1024-bit discriminants follow Chia's choice. Ripening only needs to resist computation for weeks, not decades.
10. Open Issues¶
- Measure older laptops, a Raspberry Pi, Apple Silicon and an Android
phone with
scripts/bench-ripening.pyand adjust the thresholds in section 4, which so far rest on a fast desktop and an ARM server. - Write out the discriminant derivation and form encoding normatively,
so implementations do not depend on
chiavdf. chiavdfpublishes wheels for Linux x86-64 and ARM64, Windows and macOS on Apple Silicon (an older version there), but not for Intel Macs or Android, and it does not run in Pyodide. The browser client and an Android client need their own builds (WebAssembly, NDK).- Whether proofs for long-lived keys should be refreshed periodically.
Copyright Notice¶
Copyright (c) 2026 the persons identified as the document authors.
This document is licensed under CC BY 4.0, see rfc/LICENSE.md.