Files
CustosPublic/crates
mnovak 553f13b265 [vault] Licences: the domi-licence key, the strict payload parser, the licence grant (0.21.0)
The key that signs Domi licences and revocation lists (Fundamentum docs/LICENCE.md, licence v1): Ed25519 under
the reserved id domi-licence, no scope, refused by every other signing path, signing plain Ed25519 over the exact
payload. The payload is parsed first, as the spec's strict parser does (section 2.4 steps 1-4 and 7, section 4.1),
and a malformed one is refused with the spec's code and no card. The licence grant (Mark's click) signs a licence
from licence-issue whose apps are on the allowlist, within 50 a day, without a card; anything else that is well
formed asks on a card, a revocation list always. Refused outright: a licence dated more than a day from this clock,
a licence id signed before (replay), a seq not above the highest signed (rollback), any other caller. The grant and
the log live in signing.licence, which older cores ignore; the key is an ordinary Ed25519 entry every core reads.

Not compiled or tested yet: the PC is over Mark's 90 % rule.
2026-11-28 21:47:14 +01:00
..