Commit graph

15 commits

Author SHA1 Message Date
randogoth
9d5908104e feat: add protocol test vectors generated from the reference implementation
Known-answer tests for every part of the protocol that produces bytes: key
derivation, sealed envelopes with their intermediate values, accept tokens,
session and registration frames, rotation certificates, frontmatter parsing,
and the inputs a conformant implementation must refuse.

vectors.py derives every value by calling smolmail.py, so the vectors cannot
drift from the code, and verifies each one from the opposite side before
emitting it. --check regenerates and diffs against the committed files.

Verified independently: a checker written against SPEC.md and libsodium alone,
without importing the reference, reproduces all 81 values.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-14 16:06:08 +03:00
randogoth
43e4be2b8a fix: reject line breaks in frontmatter header values; note reference-impl limits
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-06 22:10:57 +03:00
randogoth
864daa0bad docs: unified smolmail 2026-09-30 08:47:11 +03:00
randogoth
bd9bcf1076 docs: catchline and inspo 2026-09-30 08:42:26 +03:00
randogoth
9677ea7c5c docs: cleaner and more consistent text 2026-09-29 22:30:01 +03:00
randogoth
e4b429b390 badges 2026-09-29 20:55:33 +03:00
randogoth
b9fcf67d4a docs: add AI-DECLARATION.md and license badges
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-09-29 20:41:40 +03:00
randogoth
4cb0523cd5 docs: fold Reticulum transport addendum into SPEC.md 2026-09-29 16:37:29 +03:00
randogoth
059141ca23 docs: dual-license protocol CC BY-SA 4.0 and reference code Apache 2.0 2026-09-28 22:24:49 +03:00
randogoth
71f5f628be feat: revise to protocol 1.1 with accept tokens, fetch cursors and 32-byte ids 2026-09-27 09:31:00 +03:00
randogoth
56a6ed1186 feat: emit a signed Reply-To by default, --anonymous to omit 2026-09-26 16:45:41 +03:00
randogoth
5bfb415830 docs: reserve Reply-To and document sender anonymity for receivers 2026-09-26 16:41:16 +03:00
randogoth
06249ed244 feat: add single-file reference client 2026-09-26 11:01:41 +03:00
randogoth
69ba092179 feat: add single-file reference server 2026-09-26 11:01:41 +03:00
randogoth
6c76d1d6e9 docs: add protocol specification and README 2026-09-26 11:01:41 +03:00