Skip to content

History / Implementation Status

Revisions

  • The check count is 1214, not 1208 Four checks were added after that number was written -- the ALPN wire-format regression test, which is what pins the defect the independent fixture found, and the two that drive a level outside the enum. The number on these pages is supposed to be the number the suites report.

    @Pummelchen Pummelchen committed Sep 12, 2026
  • Follow the XAIOS tracker's renumbering, and record that the port is on main The port's XAIOS tracker rows were renumbered from B-61..B-70 to B-74..B-83, because main had already taken B-61..B-73 for the RISC-V and CI work. The four rows here that cite them now cite B-79, B-81, B-82 and B-83, and the rows no longer say the work is unmerged: it is on XAIOS main as of 787622c. The Implementation Status page says the same, and gains the two facts that make the handshake checkable rather than merely present: the host suites now run in CI, and the client completes a handshake against a server flight built by an independent implementation.

    @Pummelchen Pummelchen committed Sep 12, 2026
  • Record the completed TLS 1.3 client handshake and what the audits found WT-6 is answered: the client handshake is implemented in C99 on the XAIOS side and completes against an independently generated QUIC server flight. The row now says what is not implemented -- 0-RTT, session tickets, HelloRetryRequest and client certificates -- rather than leaving that to the XAIOS tracker. Four rows are added. WT-40 and WT-41 are the two memory-safety defects the work found: a CertificateVerify digest buffer sized for SHA-256 while offering SHA-512, and a public key that pointed into a dead decoder frame. WT-42 is the ALPN extension read in a format RFC 7301 does not define, which would have refused every conformant server's answer and which survived four audits because nothing in either repository carried ALPN until an independent implementation was made to disagree. WT-43 is that the host suites, over a thousand checks, were run by no CI job at all. The Implementation Status page is updated with the same three things: the trust model is decided and implemented rather than proposed, the handshake is written rather than outstanding, and the open-item range it names is corrected.

    @Pummelchen Pummelchen committed Sep 12, 2026
  • Drop C++ from the wiki and resolve the two-tree item The C++ port is gone from the repository, so the wiki no longer describes it. Home, Implementation Status, Known Limitations and the Repository Guide now speak of a single port target rather than two. The Repository Guide's generated-output rule no longer names `CPP/out/`. WT-11 is resolved rather than deleted. It recorded that the C99 and C++ trees were independent, which was correct and is why removing the C++ tree left `C99/` intact — worth keeping as the answer to a question someone will ask again. The remaining mentions of C++ are the ones that matter: Implementation Status says XAIOS has no C++ support and never will, and that its source contains zero C++ files. That is the constraint that drove the decision, not a description of a port.

    André Borchert committed Sep 12, 2026
  • Record the XAIOS inspection and the real blocker: no TLS 1.3 XAIOS was read directly rather than reasoned about. The C++ question is closed: 596 C files, 239 headers, 58 assembly files, and zero C++ of any extension. A pure C99 port needs no C++ toolchain and emits no C++ calls. Three assumptions are now settled: - libc is picolibc, built freestanding into a sysroot, so the configurable allocator stands. - The network stack is real and in-kernel (IPv4, IPv6, ARP, NDP, routing, three NIC drivers), reached through a capability-checked syscall API rather than POSIX sockets. xaios_net_sendto/recvfrom carry genuine datagrams with ARP resolution and a bounded first-contact retry. - OpenSSL is absent, so the plan's crypto dependency is wrong. XAIOS vendors BearSSL, and its build script compiles every source with -std=c99 -ffreestanding -Werror, so the whole library is available, not just the objects xapt reaches. The decisive finding is WT-6, raised to P0: BearSSL has no TLS 1.3. The vendored copy is explicitly for a TLS 1.2 client, bearssl_ssl.h defines BR_TLS10/11/12 with no BR_TLS13, and there is no TLS 1.3 source anywhere in the tree. QUIC requires TLS 1.3, so the handshake cannot be delegated. BearSSL does supply every primitive needed to write it — AES-GCM, ChaCha20-Poly1305, HKDF, SHA-2, X25519, ECDSA and RSA-PSS verification — so the crypto is solved and the handshake is the work. Added WT-35 to WT-38 for what the inspection turned up: no userspace ephemeral UDP socket creation, datagram truncation reporting unspecified, freestanding build constraints, and the real network-stack layout. WT-12 narrowed to "pin or trust set", since XAIOS already pins an operator-set RSA key for xapt. Implementation Status now describes XAIOS from its source instead of describing a hypothetical freestanding target.

    André Borchert committed Sep 12, 2026
  • Note the lower-level additions in 1.3.6 and correct the note's wording The public API table describes the high-level product, so 1.3.6's additions to the published lower-level libraries are now recorded explicitly: QUICTransportParameters.validated(), and truncation reporting on the UDP receive path. Both matter to an embedder reading the surface list rather than the changelog.

    André Borchert committed Sep 12, 2026
  • 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.

    André Borchert committed Sep 12, 2026
  • 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.

    André Borchert committed Sep 11, 2026
  • 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.

    André Borchert committed Sep 11, 2026
  • 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.

    André Borchert committed Sep 11, 2026
  • 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.

    André Borchert committed Sep 11, 2026
  • 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.

    André Borchert committed Sep 11, 2026
  • 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.

    André Borchert committed Sep 11, 2026
  • 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.

    André Borchert committed Sep 11, 2026
  • 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.

    André Borchert committed Sep 11, 2026
  • 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.

    André Borchert committed Sep 11, 2026
  • 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.

    André Borchert committed Sep 11, 2026
  • Publish 1.3.5 across the Wiki Also corrects the testing page, which still described the formatter as advisory and told the reader that making it blocking was future work.

    André Borchert committed Aug 16, 2026
  • Record the remote matrix passing 7/7 for the first time The two peers that had been marked not deployed since June are built and running, so every proof the gate defines now has evidence behind it rather than four of seven. Keeps the notes on what it took to deploy them. Neither was hard once known, and both were entirely opaque until then: hyperium/h3 needs three separate version and feature alignments before its connection type satisfies the traits, and the Erlang listener registers into an ETS table that only exists once the applications have been started.

    André Borchert committed Aug 16, 2026
  • Publish 1.3.4 across the Wiki Records the interop run against 1.3.4 specifically, since it is the release where that gate mattered: the QPACK change alters the wire encoding.

    André Borchert committed Aug 16, 2026
  • Publish 1.3.3 across the Wiki Keeps 1.3.0 and 1.3.1 in the release history, and notes that no 1.3.2 was published so the gap is not read as a missing page.

    André Borchert committed Aug 15, 2026
  • Add 1.3.1 to the changelog and status pages

    André Borchert committed Aug 15, 2026
  • Publish 1.3.0 across the Wiki Records the release with its commit, artifact sums and the fact that the published assets were downloaded and re-verified rather than assumed. Says plainly what the binaries are — thin arm64, ad-hoc signed, not notarized — since that is what a reader hits on first run, and keeps 1.2.0 visible as the previous release rather than overwriting it. Attributes the 1.3.0 code audit to Claude Opus 5 on the release, changelog and status pages.

    André Borchert committed Aug 14, 2026
  • Record the misapplied datagram fix and the warnings-as-errors hazard Adds two things learned the hard way. The datagram ceiling fix was applied to the client call site twice, so the server never received it and kept enforcing the smaller limit; the end-to-end check missed it because it exercised the send path, where the cap is deliberately the same value either way. It surfaced only when the resulting unused local broke CI. Also records that local builds do not use -warnings-as-errors while CI does, with the exact flags to reproduce. CI was red for seven commits before anyone looked, and that warning was the visible end of the misapplied fix, so the two are the same lesson.

    André Borchert committed Aug 14, 2026
  • Reconcile wiki with current implementation behaviour The pages predated server identity injection, the interoperable settings profile, graceful shutdown, admission and transport policy, certificate rotation, browser interop, and the fuzz, soak and container-interop harnesses. Several statements had become false. Corrected: - "No dedicated lint or formatting command is configured" — there is one, plus a CI step, with the reason it is advisory rather than blocking. - "Applications remain responsible for ... rate limiting" — the listener now caps concurrency and can rate-limit accepts. - The test count, which had drifted from 211 to 245. - The claim that the remote matrix had not been rerun: it was rerun on 14 August 2026 and passed 4 of 7 proofs across 3 of 5 implementations. Added, being safety-relevant and previously undocumented: - The server identity model, and the refusal of the development certificate on non-loopback binds. - That a listener's TLS identity is fixed at construction, so rotation replaces the listener and briefly unbinds the port. Measured, not assumed. - That serving browsers requires .interoperable, since the default rejects them both on the :protocol token and on the absent draft-16 setting. - That HTTP/3 critical streams must never be closed, including by releasing the handle, which is how both violations found by the browser run arose. - That a peer-asserted parse failure is a protocol violation, not a fallback. Sharpened where the previous wording understated risk: - The 14 August run is the only evidence produced with platform system trust against a CA-issued certificate over a routable path; every other interop check is loopback with self-signed certificates. - Roughly 21,000 source lines were reviewed by pattern rather than read. - The interoperability row of the validation table now says why it is not a formality: every internal test exercises this implementation against itself, so a defect both sides share is invisible to all of them.

    André Borchert committed Aug 14, 2026
  • Document WebTransport Swift 1.2.0

    André Borchert committed Aug 11, 2026
  • Document Swift 6.3.3 safety baseline

    André Borchert committed Aug 11, 2026
  • docs: reorganize Swift reference documentation

    André Borchert committed Aug 11, 2026
  • docs: document WebTransport Swift 1.1.0

    André Borchert committed Aug 11, 2026
  • docs: document WebTransport draft 16 compliance

    André Borchert committed Aug 11, 2026