Skip to content

Commit 30cb29c

Browse files
committed
Add certificate serial number (sn) to mDNS TXT record requirements
This fixes a specification bug where the hostname formation requires the certificate serial number, but it was not being advertised in mDNS TXT records, making it impossible for clients to form the correct hostname for TLS SNI. Resolves the discrepancy between hostname formation requirements and mDNS advertisement specifications.
1 parent a438c32 commit 30cb29c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

network.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ keys and values:
175175
:: An alphanumeric, unguessable token consisting of characters from the set
176176
`[A-Za-z0-9+/]`.
177177

178+
: sn
179+
:: The [=certificate serial number=] of the advertising agent, encoded as a
180+
base64 string according to [[!RFC4648]]. This is required for listening
181+
agents to compute the [=agent hostname=] for TLS SNI.
182+
178183
Note: `at` prevents off-LAN parties from attempting authentication; see
179184
[[#remote-active-mitigations]]. `at` should have at least 32 bits of true
180185
entropy to make brute force attacks impractical.
@@ -613,7 +618,7 @@ considered public:
613618

614619
1. IP addresses and ports used by the Open Screen Network Protocol.
615620
1. Data advertised through mDNS, including the display name prefix, the
616-
certificate fingerprint and serial number, and the metadata version.
621+
certificate fingerprint, certificate serial number, and the metadata version.
617622

618623
### Cross Origin State Considerations ### {#cross-origin-state}
619624

0 commit comments

Comments
 (0)