[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.
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ resolver = "3"
|
||||
members = ["crates/*"]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.20.0"
|
||||
version = "0.21.0"
|
||||
edition = "2024"
|
||||
license = "CPAL-1.0"
|
||||
repository = "https://gitea.marek-novak.cz/mnovak/CustosPublic"
|
||||
|
||||
Reference in New Issue
Block a user