Skip to content
Unseenet Working Group                                     A. Lorensen
UN-RFC: 0004                                              October 2026
Category: Standards Track
Status: Draft
Implemented: unseenet 0.1.0

            Unseenet: Groups, Manifests and Access Control

Abstract

This document defines Unseenet groups: how they are named, how they are created and changed through signed manifests, the four group types and their posting rules, end-to-end encryption of closed groups with epoch-based key rotation, and cancellation.

1. Group IDs

A Group ID is

group-id = name "@" fingerprint
name     = component *( "." component )
component= ( a-z / 0-9 ) *( a-z / 0-9 / "+" / "_" / "-" )

where fingerprint is the owner's key fingerprint (UN-RFC 0003, 16 characters). name is at most 128 octets.

Example: dk.snak@ab3k5x7qwe2rtz4m.

Because the fingerprint is part of the ID, anybody can create dk.snak, but only one owner can own dk.snak@ab3k5x7qwe2rtz4m. Clients SHOULD display the short form dk.snak@ab3k and MUST warn when a user subscribes to a group whose name equals that of another subscribed group with a different fingerprint.

The first name component conventionally names a hierarchy as on Usenet (comp, sci, alt, dk, ...). There is no authority over hierarchies; they are only a convention for browsing.

2. Group Types

Type Who may post Readable by
open any identity anyone
moderated owner, moderators; others only with a valid approval anyone
channel owner, moderators, and listed posters anyone
closed holders of the current group secret members only
state nobody: it has only the owner's manifest (UN-RFC 0044) the owner only (encrypted)

The type is fixed at creation. A later manifest MUST NOT change it; nodes MUST reject a manifest that does.

3. Manifests

A manifest is an article (UN-RFC 0002) with:

  • Control: manifest
  • Newsgroups: the Group ID
  • Author-Key: the owner's key, whose fingerprint MUST equal the fingerprint in the Group ID
  • Content-Type: application/json
  • a body that is a single JSON object in canonical JSON: UTF-8, object keys sorted by code point, no insignificant whitespace, followed by CRLF.

3.1 Fields

Field Type Req. Meaning
v integer yes 1
name string yes The name part of the Group ID
type string yes open, moderated, channel, closed
owner key string yes Owner key; MUST equal Author-Key
serial integer yes Starts at 1, increases with each change
title string no Short title (max 128 characters)
description string no Description (max 2048 characters)
moderators array of keys no Moderators
posters array of keys no Extra posters (channel groups)
min_pow integer no Minimum postage bits (UN-RFC 0006), default 0
retention_days integer no Suggested retention, default 90
sealed b64 string no Closed groups: encrypted private info (6.6)
banned array of objects no Keys that may not post (section 5.1)

Unknown fields MUST be preserved (they are inside the signed body) and ignored.

3.2 Which Manifest Is Current

Of all valid manifests for a Group ID, the one with the highest serial is current. If two valid manifests have the same serial, the one with the lexicographically lowest Message-ID wins. This makes the choice deterministic on every node without coordination.

3.3 Creating a Group

A group is created by posting its first manifest (serial 1) to a node. Whether a node carries a new group is the operator's decision. A node SHOULD support at least these policies: accept all new groups; accept groups from a list of trusted owner keys; hold new groups for manual approval.

Manifests are replicated like any other article and are exempt from the group's own min_pow, but not from the node's minimum postage.

4. Manifest Validation

In addition to UN-RFC 0002 section 5, a node MUST check that:

  1. The body parses as JSON and is in canonical form.
  2. v is 1; name matches the Group ID; the owner fingerprint matches.
  3. owner equals Author-Key.
  4. If a previous manifest is known, type is unchanged and owner is unchanged, except by a transfer (UN-RFC 0015).

5. Posting Rules

A node MUST reject an ordinary (non-control) article that does not satisfy the rule for the group's type under the current manifest:

  • open: no additional rule.
  • channel: Author-Key is the owner, a moderator or a poster.
  • moderated: Author-Key is the owner or a moderator, or the article carries
  • Approved-By: a moderator's (or the owner's) key, and
  • Approval: a signature by that key, purpose UNSEENET-APPROVAL-1, over group-id || 0x00 || message-id (the Message-ID including angle brackets, as ASCII).

Because Approved-By and Approval are outside the canonical form, approving an article does not change its Message-ID. An unapproved article reaches the moderators as a submission (UN-RFC 0009 section 3). - closed: see section 6.5.

5.1 Banned Keys

The owner can ban identities from a group by listing them in the manifest's banned field. Each entry is an object:

Field Type Req. Meaning
key key string yes The banned identity key
reason string no A short public reason (max 200 characters)
since string no When the ban was made (RFC 3339)

A manifest with a banned entry that has no valid key, or a reason longer than 200 characters, is invalid. Unknown fields in an entry MUST be ignored.

  • A node MUST reject an ordinary article whose Author-Key is banned under the current manifest, whatever the group's type, before the rule for the type is applied. Control articles by a banned key are judged as before, so a banned author can still withdraw their own posts.
  • A node MAY delete articles it already holds from a key when it is banned; the owner can also withdraw them (section 7).
  • A client SHOULD NOT show articles from keys banned under the current manifest, and SHOULD let the reader see the ban and its reason.
  • Bans do not apply to inbox groups, whose articles carry one-time keys (UN-RFC 0009); an inbox owner ignores senders instead.

A ban is made and lifted with a new manifest (section 3.2), so it is signed, public and versioned. Only the owner can ban; moderators withdraw posts. Nodes that do not know this field ignore it (section 3.1) and keep accepting the banned key's posts until they are updated.

Keys are free to make, so a ban stops a person who keeps their identity, not someone who makes new keys. Against that the owner raises postage (min_pow, UN-RFC 0006). A manifest must fit in one article (UN-RFC 0002); a longer list of banned keys may be specified later as a separate signed list.

6. Closed Groups

6.1 Epochs and the Group Secret

A closed group's lifetime is divided into epochs numbered from 1. Each epoch has a random 32-octet group secret S_e. From it, enc_key_e and the epoch's member key are derived as in UN-RFC 0003 section 4.3.

6.2 Key Updates

An epoch begins with a key-update control article by the owner:

  • Control: key-update <epoch>
  • Content-Type: application/json
  • canonical JSON body:
{"envelopes":{"<tag>":"<b64 sealed box>", ...},"epoch":2,"member_key":"ed25519:...","v":1}

Each envelope is a sealed box (UN-RFC 0003 section 4.1) to one member, containing S_e (32 octets). The tag lets a member find their envelope without revealing who they are:

tag = first 16 chars of b32( H( DS("UNSEENET-RECIPIENT-1") ||
        group-id || 0x00 || epoch-as-text || 0x00 || member_pk ) )

Tags differ between groups and between epochs, so they cannot be used to link a member across groups.

The owner MUST include an envelope for themself. A new epoch MUST be started whenever a member is removed.

A key update MAY carry "closes_previous": true. The owner MUST set it when the new epoch starts because a member was removed. It ends the earlier epochs at once: from the moment a node has accepted such a key update, it MUST reject articles of any earlier epoch in that group (section 6.5), even the one just before, so that a removed member, who still holds the previous member key, cannot go on posting. Articles written just before the rotation that have not reached a node yet are lost there; that is the price of removing someone, and clients SHOULD send again what was refused.

6.3 Adding Members Without Rotation

To add a member without starting a new epoch, the owner posts Control: key-grant <epoch> with the same body format but without member_key. Nodes validate only that the author is the owner.

6.4 Joining

How a prospective member communicates their public key to the owner is outside the protocol (e.g. an invitation link or a message in another group). An invitation is the group's address (UN-RFC 0031 section 3.4.1), with the node to ask:

unseenet:<group-id>?n=<node-onion-address>

which tells the client which group to subscribe to and which node to ask. The older form unseenet:join?g=<group-id>&n=<node-onion-address> is still read, as UN-RFC 0031 section 3.4.1 says.

6.5 Encrypted Articles

An ordinary article in a closed group MUST:

  • have Encrypted: xchacha20poly1305; epoch=<e>;
  • NOT have From or Subject in the outer header block;
  • have as body the b64 encoding (lines of at most 76 characters) of nonce || ciphertext, encrypted with enc_key_e and associated data group-id || 0x00 || epoch-as-text;
  • carry Member-Signature:, a signature with the epoch's member key, purpose UNSEENET-MEMBER-1, over the canonical form C of the article.

The plaintext is an inner block in article syntax: inner headers (at least From and Subject; optionally Content-Type and others), an empty line, and the inner body.

A node MUST reject the article unless Member-Signature verifies with the member key of epoch e, and e is the current epoch or the one before it (to tolerate replication delay), and no key update the node has accepted with closes_previous (section 6.2) is for an epoch later than e. Thus only holders of the group secret can post, and nodes enforce this without being able to read anything.

A client SHOULD NOT show an article of an earlier epoch that comes after a key update with closes_previous in the group's order on its node: it was accepted by a node that had not yet seen the key update.

6.6 Sealed Manifest Information

The manifest of a closed group is public. Its title and description SHOULD therefore be omitted or generic. Private information MAY be put in sealed: the b64 of nonce || ciphertext of a canonical JSON object, encrypted with enc_key_1 and associated data group-id || 0x00 || "manifest".

7. Cancellation

Control: cancel <message-id> withdraws an article, the target. A cancel is an article in the target's group; its body is empty or a short reason for the readers.

Old Usenet's forged cancels are impossible because cancels are signed and checked against the target.

7.1 Validity

A cancel is valid when all of these hold:

  1. It is in the same group as the target.
  2. Its author is the target's author, or the owner or a moderator of the group according to the current manifest.
  3. The target is not a control article. Manifests, key updates, key grants, cancels and rmgroup articles cannot be cancelled: a manifest is replaced by a newer one (section 3.2), and a group is removed with rmgroup (UN-RFC 0013). Cancelling a cancel is therefore not possible; a withdrawn article stays withdrawn.

Whether a cancel is valid can only be decided once its target is known.

7.2 Nodes

A node that accepts a valid cancel SHOULD delete the target and MUST NOT forward the target afterwards. The cancel itself is stored and forwarded like any article. A node MUST reject a cancel whose target it holds when the cancel is not valid.

A node that has not seen the target yet SHOULD remember the cancel (a pending cancel) and refuse the target if it arrives and the cancel is valid for it; a pending cancel naming a control article is ignored. A node SHOULD keep a pending cancel at least as long as the group keeps articles (retention_days, section 3.1; UN-RFC 0012), counted from the cancel's Date, and MAY forget it after that.

7.3 Clients

A client MUST check a cancel itself (section 7.1) before acting on it, as it does for manifests (section 4). A node is not trusted for this: otherwise a misbehaving node could hide other people's posts in its readers' caches by serving forged cancels.

A client that receives a valid cancel SHOULD remove the target from its local storage and stop showing it. It SHOULD remember a cancel whose target it has not seen, for as long as section 7.2 says for nodes, so that the target is not shown if it arrives later. A client MUST NOT show a cancel as a post.

A client SHOULD let its user withdraw their own posts, and let the owner and moderators of a group withdraw any post in it. Before sending, it MUST make clear that withdrawing is best effort (section 7.4).

7.4 Best Effort

A cancel withdraws an article; it cannot delete it. People who already read it, clients and nodes that do not follow this specification, and archives (UN-RFC 0012) may keep it. User interfaces SHOULD say "withdraw", not "delete".

7.5 Closed Groups

In a closed group a cancel is not encrypted: nodes must read its Control header to act on it. It shows the nodes that the author, the owner or a moderator withdrew some article, and which one by Message-ID; the author key is visible anyway (section 8). The body of a cancel in a closed group SHOULD be empty, since a reason would be readable by the nodes.

8. Security and Privacy Considerations

  • Removed members keep everything they already received. Rotation only protects future content. There is no forward secrecy within an epoch. A stronger scheme (e.g. MLS, RFC 9420) may be specified later.
  • Metadata visible to nodes for closed groups: Group ID, manifest, number of envelopes (≈ member count), article sizes, approximate dates and author keys.
  • Owner key loss means the group can no longer be changed. Owners SHOULD keep an offline backup of the owner key.
  • Nodes enforce posting rules, but a malicious node can still drop articles. Clients SHOULD read from more than one node.
  • Bans (section 5.1) are public: anyone can read whom a group bans and why. They stop identities, not people, since keys are free.
  • Cancels are best effort (section 7.4) and cannot be forged, but a node can ignore them, or keep serving a withdrawn article. Clients check cancels themselves (section 7.3).

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.