SPECIFICATION
Specification
GAVR is implementable without reading anybody's source. The schema, the numbered rules and a language-neutral conformance corpus are published so a body running its own advisory system can validate records the same way this registry does.
The documents
The specification itself, as plain Markdown. Start with the README, which carries a table of what each document covers and how the two machine-readable artefacts below fit around them.
The record schema
JSON Schema draft-07, matching the CVE Record Format's target so every language's most available validator can read it. Two documents: write records against the producer's schema, which the registry enforces, and read them against the consumer's, which accepts members a later edition adds. Necessary but not sufficient on their own, which is what the companion rules are for.
- For writing
- https://gavr.gadvisory.org/schemas/gavr-record-1.0.json
- For reading
- https://gavr.gadvisory.org/schemas/gavr-record-1.0-consumer.json
Companion rules
The constraints a stock validator cannot express, each with a stable id. A rule id is stored data the moment it reaches the wire, so one is never renumbered and never reused.
Conformance corpus
Documents and the verdict a conforming implementation must reach on each. Whether a case is caught by a validator is derived from each rule rather than asserted per case, so the corpus proves the claim instead of restating it.
The registry's signing key
Every countersignature is made with this key. It is published here, separately from the records it signs, because verifying a countersignature against a key taken from the record carrying it proves only internal consistency, which any forger can arrange.
- Key id
- ed25519:Hj1XBQyrgDXt5mb-Tk_rggNC6PvNtGwT-jKHD6JeW7o
- Public key
- zp6omXJrJS5Bq4GO-0At7FryPabicDrIOVtD_jAd7Uc
Machine-readable endpoints
Everything this site renders is served as JSON at a stable URL. Nothing here needs scraping.
https://gavr-reg.gadvisory.org/gavr/{identifier}
An identifier: the record with both signatures, or the placeholder of one not yet used.
https://gavr-reg.gadvisory.org/gavr/{identifier}/revisions
Every revision of a record, oldest first.
https://gavr-reg.gadvisory.org/gavr/{identifier}/revisions/{n}
One revision, and what it changed from the one before.
https://gavr-reg.gadvisory.org/authorities
Every admitted body, paged with limit and cursor.
https://gavr-reg.gadvisory.org/authorities/{slug}
One body as the directory lists it.
https://gavr-reg.gadvisory.org/authorities/{slug}/standing
Whether a body is in good standing now.
https://gavr-reg.gadvisory.org/authorities/{slug}/chain?key={key}
The signed accreditation chain from a body up to its root, ending at the link for the key that signed the record, for verifying with no registry involved.
https://gavr-reg.gadvisory.org/authorities/{slug}/staple
A signed statement of a body's standing, to serve beside its records.
https://gavr-reg.gadvisory.org/authorities/{slug}/issued
Each body a root accredits, with its keys, remit and standing and the links and staple the root has lodged for it, so an issuer renewing them needs one read.
https://gavr-reg.gadvisory.org/authorities/{slug}/notices
What happened to a body and its records, newest first.
https://gavr-reg.gadvisory.org/.well-known/gavr-registry-key
The registry's signing key, as shown above.