Writing Criteria¶
This guide was written and checked against the same nine criteria as the rest of the Mere Mortals series.
- Runnable — every command in the book was run in the lab, or is the server's own documented command in a recipe whose steps around it were. The single exception is labelled where it stands: the Docker Compose file (the lab had no working daemon; see item 9).
- Measured — claims carry numbers from the lab: server 1.37.4 and protocol version 2026.6.0 (t03), the web vault's 2026.7.0 (t24), the 46.5 MB binary, the 316K data folder (t19), 600,000 PBKDF2 iterations and Argon2id at 6 iterations / 32 MiB / 4 lanes (t05, t07), two-hour access tokens (t08).
- Version-current — checked against Vaultwarden 1.37.4, the latest release at the time of writing (2026-10-05), whose own security fixes the updating chapter cites from the release notes; the update chapter was proven across the real 1.37.3 → 1.37.4 boundary (t22, t23). The GitHub releases' empty asset lists were verified for 1.37.2–1.37.4 directly.
- Unflinching — says where it hurts: registration is open by default on a public server; a forgotten master password is unrecoverable by design; metadata is not sealed; the admin token is one string with total power and no second factor; the server is unofficial software and the guide says so in chapters 1, 9, and the README.
- Internally consistent — the specimen household, accounts, and answers agree across chapters, examples, and the 27 transcripts; the identifiers in the chapters (account, organisation, collection, and cipher IDs) are the lab's real ones.
- Example files included — a Compose file, a Caddyfile, an nginx configuration (the one the lab proved, generalised), an environment file, a two-layer backup script, and the lab notes.
- Every step does one thing — the account flow is walked as the client performs it (prelogin, verification, finish, token, item, sync), one request per step, each with its real answer.
- Worked examples — the lab ran a two-account server through registration controls, sharing, a refused stranger, backup and restore, an update, and a proxy, and kept transcripts t00–t24 of all of it, including both first-attempt failures (t07a).
- Principled about the untested — the ledger below.
The ledger¶
Proven in the lab (live server, real
requests, transcripts in
vaultwarden-lab/transcripts/): the
help and version surface (t00, t01);
/alive and /api/config, including
the DOMAIN-driven environment block
(t02, t03, t21); the 404 at / without
the web vault (t03); startup with its
plain-text-token notice (t04); prelogin
for three addresses covering both KDFs
and the decoy behaviour, read also in
the 1.37.4 source (t05, t07); the
removed legacy endpoints, all 404
(t05b); registration end-to-end for two
accounts via send-verification-email and
register/finish (t06, t07); the two
first-attempt failures — a missing
Argon2 memory parameter, and a cipher
create without encryptedFor answered
422 — reproduced and recorded (t07a);
the token login (t08); cipher create,
read-back, and sync (t09–t11);
organisation and collection creation
and the share (t12–t14); the
non-member's empty sync (t15); the admin
page, its 401, its session, its user
list (t16); vaultwarden hash and the
PHC workflow (t17); closed registration
refusing a stranger while existing
accounts and the admin page keep working
on a PHC token (t18); the data-folder
inventory, the built-in backup, and a
folder-copy restore with login and
read-back on the copy (t19, t20); the
nginx reverse proxy over TLS with the
WebSocket location (t21); the
1.37.3 → 1.37.4 update crossing (t22,
t23); and the web vault served and
versioned when enabled (t24).
Documented, not run — and why:
running the server as a Docker
container (the build machine's daemon
stopped mid-pull and did not return;
the lab instead ran the official image's
own binary, extracted unmodified from
its layers, so every behaviour above is
the shipped server's, but the Compose
file itself never executed); Caddy
(only nginx is installed here — the
Caddyfile follows Caddy's documented
form, the nginx file is the proven
one); Let's Encrypt issuance (the lab's
domain is invented; issuance needs a
real name); logging into the web vault
in a browser (no browser session was
available to the build; the vault's
presence, version, and page were
verified, its login screen flow is the
clients' documented behaviour); the
organisation invitation dance between
two live accounts (needs the clients'
screens; every object around it —
organisation, collections, the moved
cipher, the non-member boundary — is
proven); mail delivery, and with it
email-based verification and invitation
links (no mail server in the lab; the
no-mail behaviour was verified directly
in responses and source); the data
folder's attachments/, sends/,
icon_cache/, and config.json
(described from the project's
documentation because the lab never
created them); client apps' server-URL
screens on phones and desktops (no
devices available to the build); and
the server's default port 80 (the lab
always set ROCKET_PORT).
Trimmed, and declared here: t04 has
build-machine paths generalised to
LAB/; t17 was rewritten with the
recorder's echo of the typed specimen
password removed and the PHC string
redacted; t18's raw error object was
reduced to the server's message text;
t24's single 23,139-byte HTML line is
cut with the cut marked in place. No
lab answer was edited in substance
anywhere.