Publish 1.3.6 across the wiki
[WebTransport Swift 1.3.6](https://github.com/Pummelchen/WebTransport/releases/tag/1.3.6) was
published from commit 1643ed4 on 12 September 2026 with CI green on all three jobs and
artifacts verified by downloading them and checking their published sums.
Updated:
- Home and the sidebar point at the new release; Getting Started pins `exact: "1.3.6"`.
- Release and Interoperability makes 1.3.6 current with its artifact sums, moves 1.3.5
into Previous releases, and adds a "What 1.3.6 changed" section.
- Implementation Status gains the 1.3.6 evidence line. It says plainly that 1.3.6 is a
defect-fix release whose evidence is unit, conformance, sanitizer and reproducibility
coverage rather than a new interoperability run, so the 1.3.5 remote matrix remains the
standing interop claim for behaviour 1.3.6 does not change.
- Known Limitations updates the release list and notes the same.
- The project tracker states the current release at the top.
The wiki Changelog needed repair rather than just an addition. It carried two
`**Unreleased**` blocks, from the same mistake that produced two `[1.3.5]` headings in
the repository changelog: the PKCS#12 identity work had been filed under a release that
predated it. Both blocks are now one 1.3.6 entry, 1.3.5 keeps its own "verification
only" text, and no Unreleased block remains.
Retract the OpenSSL C++ claim and reframe what actually blocks Phase 2
An earlier version of WT-3 stated that OpenSSL cannot be used on a target with no C++
support, and treated that as the plan's blocking assumption. That was wrong. OpenSSL is
a C library, and its own INSTALL.md lists the build requirements as make, Perl 5 with
core modules, Text::Template and "an ANSI C compiler". C++ appears only for the optional
`enable-buildtest-c++` check that the public headers are usable from C++.
The row is retracted and rewritten as what it actually is: an availability and
maintenance question rather than a language blocker. Either OpenSSL or another C-only
X.509 provider is available (or cross-compiled and vendored), in which case Phase 3
integrates it, or the crypto stack must be written in C99, in which case X.509 path
validation is the dominant risk. The build host needs Perl and make; the target needs
only the compiled library.
WT-6 and WT-12 are reworded to match, and Implementation Status no longer asserts a
blocker that does not exist. WT-12 now names the trust model explicitly, including the
option of pinning or an explicit trust set, with the caveat that this is only acceptable
if the deployment genuinely has no need for public CA chains.
Recording this as a correction rather than a silent edit: the tracker is only worth
having if a wrong entry is visibly retracted.
Close the numbering gaps and flatten the open-work table
The three open-work subsections each sorted independently, so the global order read
WT-12 before WT-4, which is misleading. They are now one table in numeric order, with
the areas distinguishing Swift from the C99 port.
WT-7 and WT-8 were answered and had been deleted, leaving gaps. An answered question
is information worth keeping, so both are now Resolved rows carrying the answers, and
the numbering runs 1..34 with no holes.
Record the C99 target answers and the OpenSSL blocker
The operator confirmed two things that shrink the C99 port materially:
- The target has a full C99 libc, so allocations and the plan's configurable-allocator
design stand as written. WT-7 is answered.
- The target has a full, tested, Unix-compatible network stack, so the UDP runtime
can use a POSIX socket backend rather than a bespoke NIC API. WT-8 is answered.
Both are recorded, and the resolved block was renumbered so no reference collides.
New findings from probing the boundary:
- WT-13: the real dependency surface is ISO C99 **plus POSIX.1-2008**, not ISO C99
alone. Sockets, poll, clock_gettime and close are POSIX; only the C library core is
C99. Verified by compiling a probe that binds a UDP socket, creates an IPv6 socket
and reads CLOCK_MONOTONIC under `-std=c99 -pedantic -Werror`.
- WT-14: feature-test-macro discipline is a genuine hazard. Defining
`_POSIX_C_SOURCE=200809L` on this host *removed* `INADDR_LOOPBACK`, so identical
source compiles bare and fails with the macro set. The port needs one documented
policy fixed up front.
- WT-15: the datagram receive surface must be specified rather than assumed. It needs
truncation reporting, which on this host only `recvmsg` provides — `recvfrom`
silently truncates. That is already the behaviour the Swift fix relies on.
Raised WT-3 to P1 and rewrote it: the plan's OpenSSL 3.x dependency cannot be used on
a target with no C++ support, and it is the single blocking assumption in the plan.
WT-6 grew to match, since the primitives OpenSSL was going to supply now have to be
written in C99, and added WT-12 as the decision that follows from it: how X.509 chain
validation is provided.
Implementation Status no longer describes the target as freestanding; it records the
confirmed libc and network stack, the corrected dependency surface, and the OpenSSL
problem.
Give every tracker item a stable number and log the C99 port analysis
The tracker used an em dash for every item that had no GitHub issue, so nothing
without an issue could be referred to from a commit or a review. Every row now has
a reference that never changes: `#N` where a GitHub issue exists, `WT-N` otherwise.
The numbering scheme is documented in the page's own "How to use this page" section,
together with the rule that unknown problems get a row and a number too — a
suspicion recorded is cheap, and a suspicion forgotten is re-discovered later at
full cost.
This page is restated as the single project tracker for the repository.
Adds the C99 port analysis as WT-3 to WT-11. The operator has said the target is an
assembly-only OS with no C++ support of any kind, which is a stronger constraint
than the repository assumed, so the findings are recorded with their evidence:
- WT-3: the plan specifies OpenSSL 3.x and four desktop platforms, none of which can
exist on that target. The plan needs amending before Phase 0.
- WT-4: the QUIC transport is Network.framework, roughly 3,340 lines across two
files. It is new code from the RFCs, not a port.
- WT-5: nine source files depend on Security.framework or CryptoKit.
- WT-6 (P0): TLS 1.3 with real X.509 validation is the largest security risk. The
Swift equivalent delegates the trust decision to Apple, and `TLSQUICConnectionState`
does not authenticate the handshake by its own documentation, so there is no vetted
reference to copy.
- WT-7 and WT-8 are open questions for the operator: whether any libc exists, and
what the OS's datagram and entropy interfaces are.
- WT-9: the test suite that provides the correctness evidence cannot run on a
freestanding target, so the stack needs a host-side reference build.
- WT-10: size estimate, marked as partly inferred rather than measured.
- WT-11: C99 and CPP are independent trees, verified by `diff -rq`.
Implementation Status no longer says there is no plan to start the port.
Move the Retry Integrity Tag to Open work
It was recorded under Resolved by mistake. Verifying the tag needs the original
Destination Connection ID as associated data, which the packet type does not carry,
so it is an API decision rather than a fix that was applied.
Record the admission-precedence fix
An explicit maxConcurrentConnections now overrides a supplied policy instead of being
dropped silently, and an out-of-range value is refused.
Record the header-validation and datagram-truncation fixes
The long-header decoder now enforces the Fixed Bit and reserved bits, Retry rejects a
zero-length token and the same two header checks, and an oversized datagram is
reported rather than silently truncated.
The Retry Integrity Tag is recorded as a new open item rather than fixed, because
verifying it needs the original Destination Connection ID as associated data, which
the packet type does not currently carry — that is an API decision, not a small
change.
Record the third-round corrections
Two of these were defects in the fixes themselves rather than in the original
code, which is the point worth keeping: reviewing a change is not optional, and a
fix that is not exercised by a failing test can be wrong in a way that looks
right. The misplaced cancellation check and the failing format gate are both
recorded rather than quietly amended.
Record the connection-ID watermark and transport-parameter validation as resolved
Two more audit findings are fixed: the connection-ID store now honours the
retire_prior_to high-water mark, and transport parameter values are validated
against RFC 9000 section 18.2 through an opt-in entry point that does not tighten
the TLS-extension parser.
Move the CRYPTO reassembly ceiling to resolved
It is fixed: the reassembler counts bytes pending above a consumed watermark
instead of every byte ever carried. The apparent instability that held it back
last round was stale incremental build state, not the change — after a clean
rebuild the same tree passes repeatedly, which is recorded here so the next person
does not repeat the investigation.
Record the re-audit follow-up on the accept-waiter fix
The first version of that fix dropped the abandoned continuation rather than
resuming it, which the Swift runtime reports as a leaked continuation on every
timed-out accept. Adversarial review of the fix caught it; it is recorded here
rather than quietly amended, because the lesson is about reviewing fixes and not
only original code.
Record the audit round: six resolved, six open
The tracker now lists what this audit fixed and what it left. Two entries are
worth calling out because they are deliberately not fixed:
- The CRYPTO reassembly ceiling counts consumed bytes, making it a lifetime cap.
A fix was written and measured but is held back: the surrounding change could
not be shown stable here, because repeated full-suite runs died with an
intermittent SIGBUS in the test helper that unrelated trees also produced. It
needs a quiet machine to land and soak on.
- Transport-parameter validation against RFC 9000 section 18.2 is missing
entirely, which is not reachable from the shipped Network.framework path but is
a gap in a public codec.
Also records that the client descriptor-leak symptom was not reproducible, so the
cleanup is recorded as a correctness fix rather than a confirmed leak fix.
Close the Thread Sanitizer tracker item: the invocation was wrong
There was nothing to fix. CI and Development-and-Testing already run TSan with
--skip CLIProcess --skip ReleaseArtifacts, because those suites orchestrate
subprocesses against wall-clock timeouts that TSan's slowdown exceeds and report
as timeouts rather than races. That invocation passes 262 tests in about 26
seconds. Running swift test --sanitize=thread without the skips produces the
observed timeouts on any machine.
Recorded as resolved rather than left open, so the next person to see those
timeouts finds the cause instead of re-investigating it.
Correct the private-key encoding guidance and record #21 and #22
The Getting Started guidance on `.certificateChain` stated the wrong byte
counts and the wrong encoding name. Measured against
`SecKeyCopyExternalRepresentation` on macOS 26 with Swift 6.3.3, an EC private
key is the raw form 0x04 || X || Y || scalar, which is larger than the public
point: 97 bytes for P-256, 145 for P-384, 199 for P-521. The page said 65 for
P-256 (that is the public point, which the API rejects) and gave 103 and 141 for
the other two, which are not produced by anything. RSA-2048 PKCS#1 varies
between 1,190 and 1,193 bytes across keys, so it is now described as roughly
1.2 KB rather than a figure that would be wrong for most inputs.
Also stops calling the accepted form SEC1. SEC1 ECPrivateKey is DER beginning
0x30 and is one of the encodings that is rejected; Apple's form begins 0x04.
The server-identity section now carries the worked example so the changelog can
point at it: generate a key, export it with SecKeyCopyExternalRepresentation,
and pass those bytes. Adds a table of accepted lengths with the public export
alongside for contrast.
Tracker updated: #21 resolved, #22 closed as not planned with the reasoning, the
forced-cast and error-redaction items closed.
Point the tracker at the follow-up issues
#20 is closed and its two follow-ups are filed as #21 (document the
certificateChain private-key encoding and the explicit-curve constraint) and
#22 (reject explicit-parameter bundles before the import, or record why not).
Replaces the placeholders.
Record the PKCS#12 exception boundary and add a project tracker
Adds Project-Tracker, the page the repository was missing: what is being worked
on, what has been fixed, and what is known but unscheduled. It resolves the
open question of where a task list lives, and records the work found while
fixing issue #20 rather than leaving it in a commit message nobody will read.
Updates, all consequences of the same change:
- Known Limitations gains the actual constraint: macOS cannot build a TLS
identity from a certificate whose SubjectPublicKeyInfo carries explicit
elliptic-curve parameters, and the system /usr/bin/openssl is LibreSSL 3.3.6,
which emits exactly that. Also records that certificateChain requires Apple's
private-key encoding, which is undocumented.
- Repository Guide covers the new WebTransportSecurityShim target, the test
fixtures directory, and where to start a change that touches a
Security.framework call which can raise.
- Implementation Status raises the test count to 276 and explains why the
repository now contains one non-Swift target.
- Home and the sidebar link the tracker; Changelog gains the unreleased entry.