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
| Kind | record |
|---|---|
| Record key | tid |
| Authority | sports.professorbutts.com |
| Commit rev | 3n2tjdcyl422j |
| Indexed |
Record
record · key tidProperties
ciphertext
bytesThe 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
Type of the hidden record, e.g. com.professorbutts.sports.prediction or com.professorbutts.sports.bracket.
drandChain
stringtlock: drand chain hash, e.g. quicknet 52db9ba7...e971.
maxLength: 128
ephemeralKey
bytesgameKey: the sealer's one-time X25519 public key.
minLength: 32maxLength: 32
hash
stringcommit: hex sha256 of the salt bytes followed by the inner record as canonical JSON (keys sorted, no spaces, UTF-8, including $type).
maxLength: 128
When it may be opened, normally the subject's startsAt.
round
integertlock: drand round whose beacon opens it. Its time must not be earlier than revealAt.
minimum: 1
maxLength: 128knownValues: com.professorbutts.sports.sealed#gameKey | com.professorbutts.sports.sealed#tlock | com.professorbutts.sports.sealed#commit
subject
string · at-uriWhat 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
tokenHash commitment; the owner later writes a com.professorbutts.sports.unseal record with the salt and the record.
#gameKey
tokenEncrypted 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
objectSealing 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 · datetimeWhen the publisher stopped accepting sealed entries.
privateKey
bytesThe unlock key, added at kickoff (the tombstone).
minLength: 32maxLength: 32
X25519 lock key fans encrypt to.
minLength: 32maxLength: 32
#onTime
objectFingerprint 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.
#tlock
tokenTime-lock encrypted to a future drand beacon; opens itself at revealAt.
Similar lexicons
semantic matchLexicons 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.
-
games.atplay.game.secrets
recordA 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.