Technical
For anyone who wants the specifics: formats, parameters, constructions - and the places where we deliberately promise nothing.
A vault file is a plaintext but MAC-protected header and an encrypted body. The header carries only what opening the file needs: the salt, the KDF parameters, the kinds of factor and the three wrapped body keys. Everything else - entries, notes, photos and the access conditions - sits in the body.
Up to version 3 the coordinates and the opening date sat in the plaintext header. For an app whose purpose is to hide where valuables are, that was the product giving away its own subject. Since version 4 they are in the body, and the consequence is deliberate: conditions can only be read after decryption.
The file always holds two slots. A second slot that was never set up is filled with random data of the same length and is indistinguishable from a real one - so the file does not reveal whether a second vault exists.
| Parameter | Value |
|---|---|
version | 4 |
| AEAD | AES-256-GCM |
| KDF | Argon2id (libsodium), opsLimit 2, memLimit 64 MiB, p = 1 |
| KDF (legacy) | PBKDF2-HMAC-SHA256, 600 000 |
| HKDF | HKDF-SHA256, pure Dart implementation |
| Slots | 2 (both always present) |
| Wraps per slot | 3 - factors, recovery code, emergency cards; an unused way in holds a random value of the same length |
| Older files | up to 1.0.8 with 2 wraps; they still open and receive the third on the next save |
Argon2id turns the factors into a base key. Argon2id is memory-hard: 64 MiB per attempt hurts an attacker with special hardware far more than compute rounds alone. On a 2024 device an attempt costs about a second; PBKDF2 at a comparably defensible round count measured several seconds to over twenty, because Android offers no native path for it.
The base key does not decrypt anything directly. Encryption uses a random body key, wrapped three times with AES-256-GCM, once for each way in: under the factor path, under the recovery code path and under the emergency card path. Where a way in is not set up, a decoy of identical length stands in its place. Three consequences: the expensive Argon2id runs once no matter how many location cells are tried; the header does not betray which kind of vault you are holding; and a new way in, such as a set of emergency cards, can be added without re-encrypting the contents.
| Way in | Path key |
|---|---|
| Factors | HKDF-SHA256 from the base key, salt = cell id (empty without place binding), info = tva:wrap:factors:v1 |
| Recovery code | HKDF-SHA256 from the base key, salt = recovery code, info = tva:wrap:recovery:v1 |
| Emergency cards | HKDF-SHA256 from the card secret, salt = the file's salt, info = tva:wrap:emergency:v1 |
So the recovery code takes the place of the cell id, not of the factors: the password is still required. The emergency cards replace both.
Files as part of the key go through Shamir over GF(28) with the
Rijndael polynomial 0x11B: either all N in a fixed order, or
any K of them as a fallback.
The place is not a question the app asks; it is part of the key schedule. The position is quantised onto a grid, the cell is hashed into an identifier, and that identifier enters the derivation of the path key as the salt:
pathKey = HKDF(baseKey, salt = cell id, info = "tva:wrap:factors:v1")
Outside the cell the key therefore does not exist - there is nothing for a modified app or a spoofed location to bypass. The vault is bound to exactly one cell; the search radius only says how many neighbouring cells the client tries, and so costs time rather than safety.
| Parameter | Value |
|---|---|
| Grid | 50 m, quantised in metres |
| Cell id | SHA-256 over tva:geo:v1:… |
| Derivation | HKDF-SHA256, salt = cell id |
| Search radius | 150 / 300 / 600 / 1200 m |
| Candidates | 25 / 121 / 529 / 2209 cells |
| Cost (razr 50 ultra) | 72 / 162 / 220 / 385 ms |
| Stored | nothing - no coordinates, no cell, no radius |
A card set rests on a random secret of 32 bytes. It is split by Shamir over GF(28) into N shares, any K of which restore it; each card carries exactly one share. From the secret and the file's salt, HKDF derives the path key under which the body key is wrapped a third time. Fewer than K cards reveal nothing about the secret, not even part of it.
Because the body key does not depend on the factors, the cards survive a change of password. Revoking replaces the card path with a decoy; a file exported earlier, however, still carries the old path. A set that belongs to a different vault fails exactly like a wrong password, without revealing anything about the vault.
A card is meant for paper: as a QR code and as a code to type in, in Crockford Base32 and groups of six, with two check characters so that a typo shows up before any computation starts. The input forgives upper and lower case, spaces and easily confused characters such as O and 0. The card set's identifier prevents cards from different sets being mixed.
| Parameter | Value |
|---|---|
| Secret | 32 B, random |
| Splitting | Shamir over GF(28), polynomial 0x11B, K of N with 2 ≤ K ≤ N ≤ 9 |
| Path key | HKDF-SHA256, salt = the file's salt, info = tva:wrap:emergency:v1 |
| Card payload | 40 B: version, set identifier (4 B), K, N, index, share (32 B) |
| Code | Crockford Base32, 64 characters + 2 check characters from SHA-256 |
| QR code | prefix TVA-EC1: |
A time capsule is an implementation of beattime-seal-v1. The
note's key is split by Shamir; the beacon shares are encrypted with
identity-based encryption (Boneh-Franklin over BLS12-381) to an
identity derived from the opening moment. The matching "private" half is the
signature the beacon publishes at that moment - before then it does not
exist, not even for the operator.
Which key server goes into a capsule is listed in the public operator registry of Sigelith. The app reads it while sealing, when a connection is available, and keeps it locally; an operator's public key does not expire. If no operator is known yet, the app refuses to seal rather than build a drand-only capsule under the profile's name.
The pairing arithmetic lives in a dedicated Rust library on
ark-bls12-381. The widely used tlock crate is
not used: it hardcodes a 16-byte sigma, because all it ever encrypts
is an age file key. The reference draws sigma at the length of the message -
at the 32 bytes sealed here the two produce different ciphertexts, and
neither opens the other's.
Nothing is allocated across the C boundary that anyone would have to free: both results have a length the caller can compute in advance, the caller provides the buffer, and every entry point catches panics.
| Parameter | Value |
|---|---|
| Format | beattime-seal-v1 |
| Master secret | 32 B, Shamir over GF(28), polynomial 0x11B |
| Payload | AES-256-GCM-STREAM, segment 65 536 B |
| Nonce | prefix 7 B ‖ counter 4 B BE ‖ last 1 B |
| AAD | SHA-256 of the canonical header |
| Key | HKDF-SHA256, info = beattime-seal-v1|aead |
| IBE | Boneh-Franklin over BLS12-381 |
| Curve scheme | bls-unchained-g1-rfc9380 |
| Ciphertext | U 96 B (G2) ‖ V 32 B ‖ W 32 B |
| Beacons | drand quicknet + key server from the Sigelith registry |
| Registry | sigelith.org/.well-known/beat-key-operators.json, cached locally |
| Profile | standard - 2 of 3 |
For a photo taken inside the app, a proof of existence can be requested from Sigelith (sigelith.org, formerly beattime.live). What travels is the SHA-256 checksum, never the picture. The service places the value in a Merkle leaf; once the week closes, the root is signed with Ed25519. The app stores the checksum, the time, the inclusion proof and the signature, and recomputes the proof offline: photo to leaf, leaf to root, signature against the public key.
Sigelith's public keys are built into the app together with their validity periods, so that a tampered server response cannot slip in a key of its own. Sigelith changed its key on 21 September 2026. A proof that only checks out against the old key is therefore treated as "retired", not as forged, and Refresh proof fetches the signature made with the current key. Roots that Sigelith itself has declared invalid are rejected by the app, whichever key they are signed with.
| Parameter | Value |
|---|---|
| Service | Sigelith, https://sigelith.org |
| Transmitted | SHA-256 of the photo, nothing else |
| Merkle tree | leaf SHA-256(0x00 ‖ checksum), node SHA-256(0x01 ‖ left ‖ right) |
| Signature | Ed25519 over beattime-proof-v1|week|root |
| Keys | built into the app, with validity periods; the current one since 21 September 2026 |
| Verification | offline: photo, inclusion proof, signature |
This is proof pointing backwards - "this existed by then" - and therefore explicitly not a time lock. A time lock needs the opposite direction, and that is what the capsules are for.
The marker on a photo is a point in relative coordinates (0 to 1 in both directions) and is stored encrypted in the vault next to the photo. The image file stays unchanged, and so does its checksum, so a proof of time remains valid.
The compass reads Android's rotation vector sensor, falling back to the geomagnetic one. Because the sensor points to magnetic north, the app corrects for the local magnetic declination using Android's model of the Earth's magnetic field; without that correction the arrow would be off by a few degrees, depending on the location. The phone itself computes the direction and distance to the stored position. The sensor needs no permission, the position needs the location permission, and none of it leaves the device.
A format that only talks to itself proves nothing. Three checks run against foreign code, one per layer:
tlock-js, and back
again; plus against a signature drand really published.On top of that, tests on real hardware: that the arm64 library loads inside the package, that a place-bound capsule does not open in another city, and what all of it costs - a pairing lands at roughly 10 ms.
Version 1.0.9 added two checks. The emergency card format is pinned down by a fixed test vector that was recomputed independently in Python; on top of that come tests for typos, mixed card sets, cards entered twice, and that K - 1 cards open nothing. And backups written by the 1.0.8 code itself, with Argon2id and with PBKDF2, are imported and opened in the tests. The Argon2id backups were the ones whose import had failed in 1.0.8.