com.professorbutts.sports.sealed

A record kept hidden until a set time, e.g. a prediction or bracket nobody can read or copy before kickoff. Default scheme gameKey: encrypted to the lock key published in the game record; the game's publisher adds the unlock key at kickoff (the tombstone), so any viewer of the game can open it. tlock (drand) and commit (hash, owner reveals) need no trust in the game's publisher. Indexers count it from when they first saw it.

Details · record, key tid
Kindrecord
Record keytid
Authoritysports.professorbutts.com
Commit rev3n2tjdcyl422j
Indexed

Record

record · key tid

Properties

The inner record as canonical JSON (keys sorted, no spaces, UTF-8). gameKey: 12-byte nonce + AES-256-GCM ciphertext + 16-byte tag, key = HKDF-SHA256(X25519(ephemeral, game lock key), salt = ephemeralKey || publicKey, info 'com.professorbutts.sports.sealed'). tlock: tlock-js armored output as UTF-8 bytes.

  • maxLength: 16000

collection

requiredstring · nsid

Type of the hidden record, e.g. com.professorbutts.sports.prediction or com.professorbutts.sports.bracket.

createdAt

requiredstring · datetime

tlock: drand chain hash, e.g. quicknet 52db9ba7...e971.

  • maxLength: 128

gameKey: the sealer's one-time X25519 public key.

  • minLength: 32
  • maxLength: 32

hash

string

commit: hex sha256 of the salt bytes followed by the inner record as canonical JSON (keys sorted, no spaces, UTF-8, including $type).

  • maxLength: 128

revealAt

requiredstring · datetime

When it may be opened, normally the subject's startsAt.

round

integer

tlock: drand round whose beacon opens it. Its time must not be earlier than revealAt.

  • minimum: 1

scheme

requiredstring
  • maxLength: 128
  • knownValues: com.professorbutts.sports.sealed#gameKey | com.professorbutts.sports.sealed#tlock | com.professorbutts.sports.sealed#commit

subject

string · at-uri

What it is about (game, leaderboard or contest); required for gameKey, which uses this game's lock key. Viewers can show 'sealed prediction' on the right card.

#commit

token

Hash commitment; the owner later writes a com.professorbutts.sports.unseal record with the salt and the record.

#gameKey

token

Encrypted to the subject game's lock key; opened when the game's publisher adds the unlock key at kickoff. The publisher could open it early.

#lock

object

Sealing keys carried on a game record (its optional `seal` field). The publisher adds privateKey, lockedAt and onTime at kickoff, then leaves them unchanged.

Properties

lockedAt

string · datetime

When the publisher stopped accepting sealed entries.

Reference

The unlock key, added at kickoff (the tombstone).

  • minLength: 32
  • maxLength: 32

publicKey

requiredbytes

X25519 lock key fans encrypt to.

  • minLength: 32
  • maxLength: 32

#onTime

object

Fingerprint of every sealed record the publisher saw before lockedAt. Covered by the publisher's signed repo commit, so anyone can check a given entry was on time against the published list.

Properties

count

requiredinteger
  • minimum: 0

list

string · uri

Where the full list can be fetched.

root

requiredstring

Hex sha256 of the sorted lines '<at-uri> <cid>\n'.

  • maxLength: 64

#tlock

token

Time-lock encrypted to a future drand beacon; opens itself at revealAt.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Reveals a commit-scheme com.professorbutts.sports.sealed record after its revealAt. Not needed for tlock, which anyone can open.

  • A player's private secrets for one game, stored in their own 'me only' permissioned space — never on the public network. Written with the same record key as the invitation it belongs to, so it can be found without a query.