<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://home-mandate.org/changelog/relay/</id>
	<title>Home-Mandate Relay Specification changelog</title>
	<updated>2026-11-26T00:00:00Z</updated>
	<author><name>Home-Mandate Specification</name></author>
	<link rel="self" type="application/atom+xml" href="https://home-mandate.org/changelog/relay/feed.xml"/>
	<link rel="alternate" type="text/html" href="https://home-mandate.org/changelog/relay/"/>
	<entry>
		<id>https://home-mandate.org/changelog/relay/#v010</id>
		<title>v0.1.0</title>
		<updated>2026-11-26T00:00:00Z</updated>
		<link rel="alternate" type="text/html" href="https://home-mandate.org/changelog/relay/#v010"/>
		<content type="html" xml:lang="en">&lt;p&gt;The first version of the Relay Specification in its own repository. It requires SPEC-v0 &lt;code&gt;v0.2.0&lt;/code&gt;,
and nothing in it is frozen yet (Section 11).&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;Section 8: a fifth class &lt;code&gt;issuance&lt;/code&gt; checks what an operator claims with &lt;code&gt;acme_cas&lt;/code&gt; and its CAA
records. The test tool, as the gateway of the second installation, obtains a certificate for
its standard name from a CA of &lt;code&gt;acme_cas&lt;/code&gt; through the operator&amp;apos;s challenge records, and orders
a certificate for the wildcard name and one with an account it never reported, which the CA
must refuse for the CAA records; only this shows whether a CA sees the records that gateways see.
It uses the CA&amp;apos;s test environment by default; Certificate Transparency (SCTs of logs of at least
two operators of Google&amp;apos;s signed log list, inclusion proofs from the logs with &lt;code&gt;-ct-verify&lt;/code&gt;, and
no other certificate for the name since the pairing) is checked only in production, and a run
is conformant only with the production environment and &lt;code&gt;-ct-verify&lt;/code&gt;. Section 8.1 lists what no
live test can check, and the report lists it as well; refusals of HTTP-01 and of a name without
an account are among them. Section 8.4: a run in production obtains one real certificate.
&lt;code&gt;cas.md&lt;/code&gt; names the ACME directories and the account URI prefix of the test environment. The
two refusals are ordered together, after the TTL of the earlier challenge value has passed, so
that a resolver of the CA no longer holds it. Gateways are not affected; Section 12: none of
this triggers an event.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 8.3: a production run leaves a file without keys, and &lt;code&gt;-ct-verify&lt;/code&gt; with it completes the
run: inclusion of the certificate in every log of the list that gave it an SCT, from RFC 6962
logs by tree head and proof, from tiled logs (static-ct-api) by checkpoint and hash tiles, each
tree head verified with the key from the list; before a log&amp;apos;s maximum merge delay a missing
entry makes the result incomplete, after it a failure, and a tree head that does not verify
leaves the result incomplete. The snapshot counts a certificate for the
standard name or a covering wildcard with another key that is valid at some time since the run.
A search source is reached with TLS 1.2 or later, has two minutes for an answer and is asked up
to three times, with pauses from the budget for waiting, when it cannot be reached, does not
answer, limits the rate or fails with a server error.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Normative change, Sections 3 and 6.4: before its &lt;code&gt;from&lt;/code&gt;, an operator &lt;strong&gt;MAY&lt;/strong&gt; withdraw a planned set
of relay addresses or move its &lt;code&gt;from&lt;/code&gt; later, never earlier; a set with other addresses is a new
set with its own 30 days, and a withdrawal ends the duty to accept agent connections at the
planned addresses. A gateway tells the household of a withdrawal or a new date, discards or
replaces the &lt;code&gt;from&lt;/code&gt; it stored, and keeps it when the new &lt;code&gt;from&lt;/code&gt; is earlier, telling its
administrator. Section 12: none of this triggers an event.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Normative change, Section 5.2: an operator notifies the household on all its channels also when
a pairing code for an existing installation is used, with the time.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Normative change, Sections 5.7, 6.7 and 7.4: after its pairing ended, a gateway &lt;strong&gt;SHOULD&lt;/strong&gt; go on
monitoring Certificate Transparency for its former standard name for 90 days and raise the alarm
for every certificate it did not obtain; the CAA checks and the reads of the installation end
with the pairing. After that, only the operator&amp;apos;s monitoring of the name domain covers the name,
for as long as the home ID is reserved. Section 12: the alarm triggers no event of audit/v1.
Section 9 says what this gives against a replacement by an attacker.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Normative change, Section 6.4: during a move of the name domain (Section 7.9), the operator
refuses own-domain names at or below the old and the new name domain for every installation, and
a gateway checks both before it sends a name.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Sections 7.4 and 7.5: an operator keeps, without a link to a person, the times at which a reserved
home ID was assigned and unpaired, which its monitoring needs.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 7.1: a request from a browser that changes anything (SPEC-v0 Section 11.7 item 5) is one
that changes state and is accepted on the strength of a cookie, or that starts a session: the
submission of a sign-in, a consent, an answer to an approval request and every change in the
user interface. The authorization request is not one while it grants no more than a human
already granted to the same client; otherwise a gateway changes no state on a request with a
safe method. Requests without a cookie, such as those to the token endpoint, are protected by
their credentials.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 6 names the gateway rules of Section 7.1 (&lt;code&gt;__Host-&lt;/code&gt; cookies, checks of &lt;code&gt;Origin&lt;/code&gt; or a
token) and of Section 7.8 (backoff after a CA&amp;apos;s limits), which bind every gateway that uses a
relay.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;README: the table of contents names &lt;code&gt;schema/&lt;/code&gt; and &lt;code&gt;examples/&lt;/code&gt; (Apache 2.0) and
&lt;code&gt;conformance/enrollment-v0.json&lt;/code&gt;, in place of a row with an empty path.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 11: until the core has an audit version 2, a change to this document keeps within the
events, members and values of audit/v1. Section 12 says that every entry without the
administrator as &lt;code&gt;actor&lt;/code&gt; names none, whoever caused it.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Values a gateway records fit audit/v1 of the core: &lt;code&gt;acme_account&lt;/code&gt; has at most 508 characters,
and a &lt;code&gt;time&lt;/code&gt; such as &lt;code&gt;replacement_pending_until&lt;/code&gt; is a date that exists, without the year
&lt;code&gt;0000&lt;/code&gt; and without a second 60; a message with another value does not follow the schemas.
Section 12 names &lt;code&gt;caa_identity&lt;/code&gt; in &lt;code&gt;relay.acme_account_changed&lt;/code&gt; and the &lt;code&gt;actor&lt;/code&gt; of each event.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Certificate Transparency: the reference gateway follows the core, where a key presented under
the public origin recognises no certificate (&lt;code&gt;t47&lt;/code&gt;, &lt;code&gt;t49&lt;/code&gt;) and a certificate&amp;apos;s time comes from
a source, the earliest SCT or the first sight (&lt;code&gt;t50&lt;/code&gt; to &lt;code&gt;t52&lt;/code&gt;); each new fault fails its cases.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;New Section 12: each &lt;code&gt;relay.*&lt;/code&gt; event of the audit format &lt;code&gt;audit/v1&lt;/code&gt; of SPEC-v0 v0.2.0 is mapped
to the event of this document that triggers it, with the causes for the end of a pairing, the
states of an ACME account report, whether monitoring is possible, a key change, a pending
replacement, a relay key that matches no pin, and what the gateway refuses: a pairing response
that fails a check, a set of pins it ignores and metadata whose pins it does not know. Events
that the relay or the operator can trigger again and again are recorded at most once within 60
minutes for each value.
This version requires SPEC-v0 v0.2.0 for that format.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Normative change, Section 4.7: over its connections with an active pin, a gateway stores at
most one new set of pins an hour that adds a pin, and answers &lt;code&gt;ignored&lt;/code&gt; to further sets; a set
that only removes pins and a connection with a backup pin have no limit. &lt;code&gt;pins-v0.json&lt;/code&gt; states
the time of a case (&lt;code&gt;stored_minutes_ago&lt;/code&gt;, &lt;code&gt;after_minutes&lt;/code&gt;) and the kind of another connection
(&lt;code&gt;kind&lt;/code&gt;), and has cases for the limit (&lt;code&gt;n56&lt;/code&gt; to &lt;code&gt;n63&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;The reference code reads requests and key changes with its own package, on top of the compact
serialization and the signature checks of SPEC-v0&amp;apos;s Go module, so that a rule of this document
no longer needs a release of the core module. The reference gateway applies the
acknowledgement of a public key and the key read again from the public origin of
&lt;code&gt;conformance/ct-v0.json&lt;/code&gt; (SPEC-v0 Section 11.7 item 7).&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;This specification moved from home-mandate/spec to its own repository,
home-mandate/relay-spec, with its own versions (Section 11). Paths lose the prefix &lt;code&gt;relay/&lt;/code&gt;;
the Go module is &lt;code&gt;github.com/home-mandate/relay-spec&lt;/code&gt;. The cases of Certificate Transparency
monitoring stay in SPEC-v0 (&lt;code&gt;conformance/ct-v0.json&lt;/code&gt;). New Section 11.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Sections 1.1, 6, 6.1, 6.7, 7.1 and 8.5: the rules that hold for every gateway reached from
outside, whichever way, are now in SPEC-v0 Section 11.7: the public origin as OAuth issuer,
Certificate Transparency monitoring (now from at least two independent sources) and pages under
a public name. This document refers to them. &lt;code&gt;ct-v0.json&lt;/code&gt; and its schema moved to
&lt;code&gt;conformance/&lt;/code&gt; of the Home-Mandate Specification, with &lt;code&gt;since&lt;/code&gt; in place of &lt;code&gt;pairing&lt;/code&gt;.
Section 6 points to the gateway rules of Sections 7.1 and 7.8.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Normative change, Sections 3 and 5: the gateway fetches the metadata and talks to the enrollment
endpoint with TLS 1.3 or later; TLS 1.2 is no longer enough.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 8.3: a run in which &lt;code&gt;acme_cas&lt;/code&gt; lists no CA of &lt;code&gt;cas.md&lt;/code&gt;, or in which a check is
skipped without an earlier failure, is incomplete, not conformant.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 8.5 and the files &lt;code&gt;pairing-v0.json&lt;/code&gt;, &lt;code&gt;pins-v0.json&lt;/code&gt;, &lt;code&gt;proxy-v0.json&lt;/code&gt;, &lt;code&gt;destination-v0.json&lt;/code&gt;,
&lt;code&gt;caa-v0.json&lt;/code&gt;, &lt;code&gt;protection-level-v0.json&lt;/code&gt; and &lt;code&gt;ct-v0.json&lt;/code&gt;: cases for the decisions of a gateway, without
classes of gateways and without a test tool for them. Section 3: a gateway &lt;strong&gt;MUST NOT&lt;/strong&gt; connect to an address that is not globally reachable unicast; it resolves a name once per connection attempt, checks every address, opens the socket to the checked address itself (no proxy that resolves the name), follows no redirect of the metadata or the tunnel and checks the address of a redirect of an enrollment response too; in IPv6 only 2000::/3 and, by the embedded IPv4 address, 64:ff9b::/96 count, 2002::/16 never, and a text that is no address is refused; the rule
on ranges of addresses in the metadata binds the operator, and a gateway &lt;strong&gt;MAY&lt;/strong&gt; refuse such a
document. Section 4.6: the gateway ignores the destination of the PROXY header, closes on a
source port of 0, &lt;strong&gt;MAY&lt;/strong&gt; refuse further ranges of source addresses and &lt;strong&gt;MUST NOT&lt;/strong&gt; refuse
100.64.0.0/10. Section 5.2: a gateway refuses a pairing string that does not match
&lt;code&gt;$defs/pairing_string&lt;/code&gt; (&lt;code&gt;maxLength&lt;/code&gt; 273 in the schema) or has an operator domain longer than 253
characters, and shows the operator domain as an A-label.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Normative change, Sections 4.1, 4.7 and 6.8: the kind of the pin of a connection is fixed at the
handshake and judged for each &lt;code&gt;pins&lt;/code&gt; against the pins stored at that moment; a set equal to the
stored one is answered &lt;code&gt;stored&lt;/code&gt; first, a set when the pin is no longer stored in that kind is
&lt;code&gt;ignored&lt;/code&gt;, and the gateway closes a control connection, after the answer if the set arrived on it, as soon as a stored set leaves its pin no longer stored at all, also when the set arrived on another connection; a set need not contain the pin of the connection. A relay that listed its backup key among the active pins cannot announce a second set on that connection, and a new connection with that key cannot change the backup pins, so a change of the backup pins needs a second backup key.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Sections 6.3, 6.5 and 6.7: records are compared by meaning (case of domain and tag, parameter
tags and values byte for byte, flags disregarded, duplicates and further parameters differ, an empty value is &lt;code&gt;;&lt;/code&gt;, the order of parameters is irrelevant, malformed values); failed queries, NXDOMAIN, successful rounds and independent resolvers (a difference counts whenever a resolver that answered shows it; only the 24 hours depend on a successful round);
CNAME or DNAME at the queried name or an ancestor is a difference, and the operator publishes none at the apex; a repeat only for resolvers that still differ; less than one hour for the excuse and
none for the standard name before one hour has passed; &lt;code&gt;unsigned&lt;/code&gt; and &lt;code&gt;bogus&lt;/code&gt; zones, the AD bit
and providers in Section 6.5; names, wildcards, the lookback since the pairing, the first log entry
and the replacement of a server key in the Certificate Transparency monitoring; a certificate that is not valid yet raises an alarm, and an acknowledgement names the digest of the TBSCertificate.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 5.2: a pairing code is redeemed only when the installation is created, in one atomic
step, so an installation key that is in use (&lt;code&gt;key-conflict&lt;/code&gt;) or a bad certificate request
leaves the code usable; the check of the key, the redemption and the creation are one atomic step,
so that two concurrent pairings with one key and two codes cannot create two installations, and a
&lt;code&gt;key-conflict&lt;/code&gt; for a valid code counts against the per-source attempt limit like a failed code.
Section 6.4: a token belongs to one registration; when it ends, the token
is discarded and a later registration, also of the same name, gets a new one, and an operator
&lt;strong&gt;MUST NOT&lt;/strong&gt; use a token again.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 8.1, 8.3 and Section 3: &lt;code&gt;metadata&lt;/code&gt; also covers Sections 7.1 and 7.3, and &lt;code&gt;relay&lt;/code&gt; Section
6.8; the test tool is in &lt;code&gt;cmd/&lt;/code&gt;, it is conformant only with two pairing codes, an own domain
and all classes, &lt;code&gt;blocked&lt;/code&gt;, &lt;code&gt;offline-too-long&lt;/code&gt; and replacement codes are checked offline
only, DNSSEC and IPv6 are hints; &lt;code&gt;relay_addresses&lt;/code&gt; &lt;strong&gt;MUST&lt;/strong&gt; be globally reachable unicast addresses.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 6.4: registering a name that is registered already makes the operator look up the TXT
record again, so that a household does not wait a day for the first verification. Section 8.2:
&lt;code&gt;enrollment-v0.json&lt;/code&gt;, the order of the checks of a request (Section 5.1). Section 8.3: the ACME
account URI of the test has the form of the CA&amp;apos;s account URIs and a number that no account has.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 8: cases for certificate signing requests, issued tunnel certificates, frames of the
control connection, the binding of data connections and TLS of tunnel connections. Section 5.4:
the key of a request is a key in the sense of Section 5.1, a P-256 point uncompressed; the
&lt;code&gt;notBefore&lt;/code&gt; of a tunnel certificate is no later than issuance and before its &lt;code&gt;notAfter&lt;/code&gt;; a
tunnel certificate without a basic constraints extension has &lt;code&gt;cA=false&lt;/code&gt;, and its extended key
usage holds &lt;code&gt;serverAuth&lt;/code&gt; and &lt;code&gt;clientAuth&lt;/code&gt; and no other usage. Section 4.2: a relay selects
&lt;code&gt;X25519MLKEM768&lt;/code&gt; also when a ClientHello lists other groups. Section 4.4: a &lt;code&gt;stream-open&lt;/code&gt; that
arrives after the gateway&amp;apos;s &lt;code&gt;drain&lt;/code&gt; is refused with &lt;code&gt;stream-close&lt;/code&gt;, not treated as an error.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 8 specified: conformance classes of operators (&lt;code&gt;metadata&lt;/code&gt;, &lt;code&gt;enrollment&lt;/code&gt;, &lt;code&gt;dns&lt;/code&gt;, &lt;code&gt;relay&lt;/code&gt;),
machine-readable cases in &lt;code&gt;conformance/&lt;/code&gt; with their own manifest, a live test of an operator
with &lt;code&gt;relay-conformance&lt;/code&gt;, and a test account that an operator claiming conformance gives for
repeated tests.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 4 specified: the tunnel protocol, with the parameters of the operator from the
metadata, the gateway&amp;apos;s tunnel certificate and the relay authenticated by its pins alone, TLS 1.3
with the hybrid group &lt;code&gt;X25519MLKEM768&lt;/code&gt; only, frames and message types, control connection with
heartbeat and one connection per installation, the relay as one logical service across instances,
load balancers and regions, data connections bound by single-use tokens, warm data connections
kept for a few heartbeat intervals, PROXY v2 with the agent&amp;apos;s address also behind load balancers, the
messages &lt;code&gt;pins&lt;/code&gt; and &lt;code&gt;pins-ack&lt;/code&gt;, limits that the other side has to keep to and &lt;strong&gt;RECOMMENDED&lt;/strong&gt; limits
of the relay, and errors. Security considerations for the tunnel.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 7 specified: separate domains, Public Suffix List where an operator qualifies, &lt;code&gt;__Host-&lt;/code&gt;
cookies, what an operator does not do, both protection levels for every installation, monitoring
of the name domain, retention within the law of the operator&amp;apos;s jurisdiction,
with data and periods published and changes told within 30 days, abuse measures
without access to content, offline backup keys with tested recovery, limits of the CA, incidents
and the end of a service, and what can be checked from outside.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 10 specified: what an operator and others learn.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Skeleton: goal, terminology, operator metadata with schema and example, outline of pairing
and issuance.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 6 specified: standard and own-domain names, protection levels, CAA at the apex and at
each name, registration and verification of own-domain names, determining the protection level
in the gateway, CAs that log every certificate and enforce RFC 8657 (informative list
&lt;code&gt;cas.md&lt;/code&gt;), Certificate Transparency and CAA monitoring, active and backup pins; relay
addresses in the metadata; error &lt;code&gt;name-unavailable&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Section 5 specified: directory, nonces and signed requests, errors, pairing (including a
pairing code for an existing installation), installation, tunnel certificate, renewal and
re-issuance within &lt;code&gt;max_offline_days&lt;/code&gt;, key change, ACME support with a CAA binding to the
gateway&amp;apos;s ACME account, unpairing and blocking;
schema &lt;code&gt;schema/enrollment-v0.schema.json&lt;/code&gt; with examples. Security considerations for
Section 5.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Follow-ups for Sections 5 and 6 (#44): spelling-rule violations are &lt;code&gt;malformed&lt;/code&gt;, response
timeout and fixed enrollment host, stray installations after a lost pairing response, failed
response checks do not unpair, notification-channel changes before a replacement code, the
gateway revokes foreign certificates after a pairing and asks for a new own-domain CAA record, CSR
algorithms and the checks a gateway makes on its tunnel certificate, rejecting and expiring a
pending ACME account, which CAA properties count as a deviation, earlier server keys in CT
monitoring, relay address changes advised only once visible at the standard name, rules for
announced pin sets and the lead time of a key rotation, what a gateway does after an
unconfirmed ACME account change, no CAA alarm for the previous record in the hour after a
change (TTL of at most 3600 seconds), when a gateway revokes after a pairing, a read of the
installation at least every 12 hours, a warning before a replacement that a running gateway
&lt;strong&gt;MUST&lt;/strong&gt; give, past exposures reported by Certificate Transparency monitoring.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</content>
	</entry>
</feed>
