Repository navigation
Releases
v0.2.0
What's Changed
- ci: release workflow and patches from release/X.Y by @markusmazurczak in #123
- docs: resolve follow-ups for RELAY-v0 Sections 5 and 6 by @markusmazurczak in #45
- docs: RELAY-v0 operator obligations and privacy considerations (Sections 7, 10) by @markusmazurczak in #126
- fix: Go 1.27.4 (GO-2026-6859) by @markusmazurczak in #146
- ci: publish a release only with its attested conformance report by @markusmazurczak in #148
- feat: Relay Specification RELAY-v0 (draft) with conformance for operators and gateways by @markusmazurczak in #150
- fix: jws refuses unusable keys and quotes input cut in errors by @markusmazurczak in #151
- feat: Section 11.7 remote access, CT monitoring from two sources, origin and CT cases in the core by @markusmazurczak in #152
- feat: make ijson, rfc3339 and manifest public packages by @markusmazurczak in #154
- chore: the Relay Specification moved to home-mandate/relay-spec by @markusmazurczak in #155
- feat: audit version 1 and separate findings of the verification by @markusmazurczak in #156
- docs: rules for the signer of checkpoints, principal of implementation-wide entries by @markusmazurczak in #157
- docs: approval and agent identity (Sections 4.4, 11.1, 11.2, 11.6) by @markusmazurczak in #159
- docs: resource directory, clock, what read returns, PDP (Sections 3.4, 4, 6, 11.4, 11.8) by @markusmazurczak in #160
- docs: clarifications on time windows, time zone names, template digests and deny rules with conditions (Sections 4.2, 9.1, 12.4) by @markusmazurczak in #161
- feat(conformance): bytes that are not UTF-8, through a base64 form of the test interface (Section 10.2) by @markusmazurczak in #162
- feat(conformance): differences between implementations and open questions of #112 (Sections 4, 7, 9, 10) by @markusmazurczak in #163
- feat(conformance): rule-by-rule coverage of the referenced RFCs by @markusmazurczak in #164
- fix: audit/v1 before the freeze, checkpoints, remote access and Section 14 by @markusmazurczak in #190
- fix: key sets, ES256 in the test interface, jws building blocks and the Go API by @markusmazurczak in #191
- feat: audit/v1 records what a gateway refuses from a relay by @markusmazurczak in #195
- fix: security rules before v0.2.0: checkpoint signer, CT key, alarms, DPoP proofs, clock by @markusmazurczak in #214
- fix: audit/v1 final before v0.2.0: auth reasons, bound, caa_identity, proxies, checkpoint key, digest, version grammar, cadence by @markusmazurczak in #215
- fix: signatures, key sets and the public origin before v0.2.0 by @markusmazurczak in #216
- fix: Go API before v0.2.0: AllowN, AcceptedKid, the last entry seen, crypto.Signer, bounded errors by @markusmazurczak in #217
- fix: test interface and documentation before v0.2.0 by @markusmazurczak in #218
- fix: before rc.1: an anchored truncation for the last entry seen, the signer's write-ahead record, the Upgrading list by @markusmazurczak in #219
- feat: repeated allowed reads share one entry with result.count (audit/v1), time running backwards reported, a retention of 90 days by @markusmazurczak in #222
- fix: a group is resolved to its members, or counts as critical by @markusmazurczak in #223
- feat: vocabulary v0.2: number, select, fan, valve, vacuum, siren, cover tilt, media next and previous, light colour by @markusmazurczak in #224
- feat: a mandate linter for the risky patterns of Section 12.4 by @markusmazurczak in #225
- feat: a rule's own period, conditions.dates and the constraint none_of; one agent, one credential by @markusmazurczak in #234
- feat: limits of a rule, and the rate limits of a PDP apart from its PEP by @markusmazurczak in #235
- fix: what the TypeScript implementation found before rc.4 by @markusmazurczak in #236
- docs: the specification v0.2.0 by @markusmazurczak in #238
Full Changelog: v0.1.1...v0.2.0
v0.2.0-rc.4
What's Changed
- fix: what the TypeScript implementation found before rc.4 by @markusmazurczak in #236
Full Changelog: v0.2.0-rc.3...v0.2.0-rc.4
v0.2.0-rc.3
What's Changed
- feat: a rule's own period, conditions.dates and the constraint none_of; one agent, one credential by @markusmazurczak in #234
- feat: limits of a rule, and the rate limits of a PDP apart from its PEP by @markusmazurczak in #235
Full Changelog: v0.2.0-rc.2...v0.2.0-rc.3
v0.2.0-rc.2
What's Changed
- feat: repeated allowed reads share one entry with result.count (audit/v1), time running backwards reported, a retention of 90 days by @markusmazurczak in #222
- fix: a group is resolved to its members, or counts as critical by @markusmazurczak in #223
- feat: vocabulary v0.2: number, select, fan, valve, vacuum, siren, cover tilt, media next and previous, light colour by @markusmazurczak in #224
- feat: a mandate linter for the risky patterns of Section 12.4 by @markusmazurczak in #225
Full Changelog: v0.2.0-rc.1...v0.2.0-rc.2
v0.2.0-rc.1
What's Changed
- ci: release workflow and patches from release/X.Y by @markusmazurczak in #123
- docs: resolve follow-ups for RELAY-v0 Sections 5 and 6 by @markusmazurczak in #45
- docs: RELAY-v0 operator obligations and privacy considerations (Sections 7, 10) by @markusmazurczak in #126
- fix: Go 1.27.4 (GO-2026-6859) by @markusmazurczak in #146
- ci: publish a release only with its attested conformance report by @markusmazurczak in #148
- feat: Relay Specification RELAY-v0 (draft) with conformance for operators and gateways by @markusmazurczak in #150
- fix: jws refuses unusable keys and quotes input cut in errors by @markusmazurczak in #151
- feat: Section 11.7 remote access, CT monitoring from two sources, origin and CT cases in the core by @markusmazurczak in #152
- feat: make ijson, rfc3339 and manifest public packages by @markusmazurczak in #154
- chore: the Relay Specification moved to home-mandate/relay-spec by @markusmazurczak in #155
- feat: audit version 1 and separate findings of the verification by @markusmazurczak in #156
- docs: rules for the signer of checkpoints, principal of implementation-wide entries by @markusmazurczak in #157
- docs: approval and agent identity (Sections 4.4, 11.1, 11.2, 11.6) by @markusmazurczak in #159
- docs: resource directory, clock, what read returns, PDP (Sections 3.4, 4, 6, 11.4, 11.8) by @markusmazurczak in #160
- docs: clarifications on time windows, time zone names, template digests and deny rules with conditions (Sections 4.2, 9.1, 12.4) by @markusmazurczak in #161
- feat(conformance): bytes that are not UTF-8, through a base64 form of the test interface (Section 10.2) by @markusmazurczak in #162
- feat(conformance): differences between implementations and open questions of #112 (Sections 4, 7, 9, 10) by @markusmazurczak in #163
- feat(conformance): rule-by-rule coverage of the referenced RFCs by @markusmazurczak in #164
- fix: audit/v1 before the freeze, checkpoints, remote access and Section 14 by @markusmazurczak in #190
- fix: key sets, ES256 in the test interface, jws building blocks and the Go API by @markusmazurczak in #191
- feat: audit/v1 records what a gateway refuses from a relay by @markusmazurczak in #195
- fix: security rules before v0.2.0: checkpoint signer, CT key, alarms, DPoP proofs, clock by @markusmazurczak in #214
- fix: audit/v1 final before v0.2.0: auth reasons, bound, caa_identity, proxies, checkpoint key, digest, version grammar, cadence by @markusmazurczak in #215
- fix: signatures, key sets and the public origin before v0.2.0 by @markusmazurczak in #216
- fix: Go API before v0.2.0: AllowN, AcceptedKid, the last entry seen, crypto.Signer, bounded errors by @markusmazurczak in #217
- fix: test interface and documentation before v0.2.0 by @markusmazurczak in #218
- fix: before rc.1: an anchored truncation for the last entry seen, the signer's write-ahead record, the Upgrading list by @markusmazurczak in #219
Full Changelog: v0.1.1...v0.2.0-rc.1
v0.1.2-rc.1
What's Changed
- fix(0.1): Go 1.27.4 (GO-2026-6859), CI and release workflow from main (#123) by @markusmazurczak in #147
- ci(0.1): publish a release only with its attested conformance report by @markusmazurczak in #149
Full Changelog: v0.1.1...v0.1.2-rc.1
v0.1.1
Home-Mandate Specification v0.1.1, a patch release. The type of every format stays the same. Details are in the Changelog of SPEC-v0.md, section v0.1.1.
Security: GHSA-grm8-w7m9-fxj9. The Go package jws read JWK member names without regard to case and accepted Ed25519 public keys of small order. Both need a manipulated or weak key set.
Three things can change an outcome:
- A noncharacter is no longer accepted in a new document (RFC 7493 section 2.1, #110). Existing audit logs stay valid: this is the first correction under the new rule in Section 14, listed in
data/corrections-v0.json. - A leap second in an audit entry stops verifying in the reference verifier (#114). spec-ts already rejected it.
- A signature under an Ed25519 key of small order stops verifying.
Other fixes in the reference implementation:
- A
seqthat is no integer givesbroken_at0 instead of being rounded (#115). - A zero is zero whatever its exponent (#116).
- The harness and checkpoint signing read times by the grammar of RFC 3339 (#117).
Conformance: new cases a213 to a228, c243 to c251, d52, d53, g24 to g35, i158 to i175, s29. Conformance manifest 07f0f0ecbf9bc52a8e8a53e92b31952099edc4c9d1c56b1366b3ae9abb36ea33.
The reference implementation in this repository conforms to this release. spec-ts and ha-home-mandate follow with their own releases.
v0.1.0
Home-Mandate Specification v0.1.0. The v0 formats (mandate, audit entry, audit checkpoint) and the vocabulary v0 are frozen from this release on (Section 14): a document that is valid under v0.1.0 stays valid and is evaluated the same way by every later v0 release; incompatible changes get a new type.
The pre-releases v0.1.0-alpha.1 to v0.1.0-rc.5 are not covered by the freeze. Since v0.1.0-rc.5 the specification changed in these points (details in the Changelog of SPEC-v0.md, section v0.1.0):
- Request parameters and vocabulary
v0.1(#107): a request carries exactly the parameters the vocabulary declares; required parameters and alternatives (required_one_of),alarm.armwith a mode, range setpoints. - Acceptance and selection (#106):
revokedthrough the selection, "accepted is not in effect" for successors,audienceandexpiresrequired for signed mandates. - Recording before executing (#108): an action is recorded before it runs,
denied_by: audit, the agent's values in the log are untrusted text. - The vocabulary is bound to the formats (#72): decision entries record the vocabulary, extension vocabularies carry an
id. - New audit events (#74, #75): exports, directory changes, audit-mode proposals, rejected mandates, proposals name the version they replace.
- AuthZEN mapping, signed checkpoints, EdDSA canonicality (#105); verification of audit logs defined condition by condition (#68); schemas and text aligned (#70).
v0.1.0 itself (#109) changes no rule, format or conformance case against commit 116d009: conformance manifest aa18f0f0dd534ebe8b9b83692cb58e68a568b018510146e261fccd31f181c40a.
The reference implementation in this repository and ha-home-mandate conform to this release; spec-ts follows with its own v0.1.0. The relay specification (RELAY-v0.md) is a draft and not part of this release.
What's Changed
- fix: define broken_at condition by condition, broken_at and anchored 0, the entry size and up_to_seq (§9.4, §9.5) by @markusmazurczak in #68
- fix: align schemas and text on actor kinds, previous_digest, approval_timeout and identifier lengths (§3, §9.1) by @markusmazurczak in #70
- fix: bind the vocabulary to the formats and record it in decision entries (§5, §9.1, §14) by @markusmazurczak in #72
- feat: audit events for exports, directory changes, audit-mode proposals and rejected mandates (§9.1, §9.2) by @markusmazurczak in #74
- feat: proposals name the version they would replace (§9.1, §11.6) by @markusmazurczak in #75
- feat: complete the AuthZEN mapping, name/note and signed checkpoint time, issuer and config events, EdDSA canonicality (§6, §3.1, §9.5, §9.2, §7.1) by @markusmazurczak in #105
- feat: revoked through the selection, accepted is not in effect, audience for signed mandates (§3.5, §4.3, §7.1, §11.6) by @markusmazurczak in #106
- feat: a request carries exactly the declared parameters; vocabulary v0.1 with required parameters, alarm modes and range setpoints (§4, §4.5, §5, §12.4) by @markusmazurczak in #107
- feat: recording before executing, denied_by audit; the agent's values in the log are untrusted text (§9, §9.1, §9.2, §11.1, §12.2, §12.4, §13) by @markusmazurczak in #108
- docs: release v0.1.0, the v0 formats are frozen by @markusmazurczak in #109
Full Changelog: v0.1.0-rc.5...v0.1.0
v0.1.0-rc.5
Release candidate of the Home-Mandate Specification v0.1.0, for testing and review. The v0 formats are frozen only with v0.1.0 (Section 14).
This release changes no rule, format, schema or conformance case; the manifest is the same as in rc.4:
- Conformance report (#65):
implementation.versionis the release of the implementation, not the version of the formats (Section 10.4). Over the HTTP binding,mandate-conformancetakesimplementationfrom the new options-nameand-version; before, it stayed empty. The reference harness reports its release.
Every mandate and every audit log valid under rc.4 stays valid, and an implementation that conforms to rc.4 conforms to rc.5. Changes are listed under "Unreleased" in the Changelog of SPEC-v0.md.
What's Changed
- feat: the conformance report names the implementation's release, also over HTTP by @markusmazurczak in #66
Full Changelog: v0.1.0-rc.4...v0.1.0-rc.5
v0.1.0-rc.4
Release candidate of the Home-Mandate Specification v0.1.0, for testing and review. The v0 formats are frozen only with v0.1.0 (Section 14); until then, findings from the review can still change them.
This release closes the findings from the review of rc.3, most of them reported by @MuriloDPV:
- Audit mode and
ask(#59): in audit mode, adenythat wins over a matchingaskrule is still not enforced, but the request now needs a confirmation before it is executed. The result carriesconfirm: trueand the approval settings. A PEP that executes non-enforced denials MUST knowconfirm(Section 6); update the PEP together with the evaluator, never the evaluator alone. - Confirmation for several resources (#54): a confirmation covers exactly the resolved set of resources; the PEP names every resource it evaluated to the platform.
- Audit entries for invalid requests (#56):
requestrecords the input also forinvalid_request; identifiers in the audit log are bounded only in length and count. 49 new conformance cases cover the changes of rc.3.
Text only:
- Actions a device cannot carry out (#55): a PEP should not ask for them (SHOULD, Section 11.1 item 11).
Every mandate and every audit log valid under rc.3 stays valid. Changes since v0.1.0-rc.3 are listed under "Unreleased" in the Changelog of SPEC-v0.md.
What's Changed
- docs: do not ask for an action the resource cannot carry out by @markusmazurczak in #55
- fix: a confirmation for several resources covers exactly the resolved set by @markusmazurczak in #54
- test: conformance cases for rc.3 changes; what the audit log records for an invalid request by @markusmazurczak in #56
- docs: logo with tagline above the README by @markusmazurczak in #58
- docs: point to the organization's rules and name policy by @markusmazurczak in #61
- ci: weekly grouped Dependabot updates by @markusmazurczak in #62
- ci: bump the actions group with 2 updates by @dependabot[bot] in #63
- fix: in audit mode, a deny that wins over a matching ask still requires a confirmation by @markusmazurczak in #60
New Contributors
- @dependabot[bot] made their first contribution in #63
Full Changelog: v0.1.0-rc.3...v0.1.0-rc.4