Repository navigation
build(docker): run the Server and BFF on aspnet:10.0-resolute for X25519MLKEM768 - #554
Conversation
…519MLKEM768 The aspnet:10.0 image is Ubuntu 24.04 with OpenSSL 3.0.13, so the outbound TLS of .NET offers and negotiates only X25519. The 10.0-resolute image is Ubuntu 26.04 with OpenSSL 3.5.5, so .NET offers X25519MLKEM768 first and negotiates it with servers that support it.
|
review-gate: passed b92786f An independent
The reviewer also ran UnitTests (2449 of 2449 pass) and Bff.Tests (562 of 562 pass) in Evidence (linux/arm64)kex probe, The apps' own outbound handshakes, captured with tcpdump and filtered to the container IPs. Postgres, the Server, and the BFF ran with HTTP checks, the same on both: Server Image facts: ICU 74 to 78. tzdata-legacy is present on both. No curl on either. Size: Server 293.2 MB to 310.3 MB, BFF 284.0 MB to 301.1 MB. |
|
PASS+NOTES - independent verification of head
|
Why
The outbound TLS of the Server and BFF containers should use the hybrid post-quantum key exchange X25519MLKEM768.
aspnet:10.0is Ubuntu 24.04.5 with OpenSSL 3.0.13, so .NET offers and negotiates onlyx25519.aspnet:10.0-resoluteis Ubuntu 26.04.1 with OpenSSL 3.5.5, so .NET offersX25519MLKEM768first.What changed
FullstackTemplate.Server/DockerfileandFullstackTemplate.Bff/Dockerfile: the runtime stage isaspnet:10.0-resolute, notaspnet:10.0.sdk:10.0build stages stay. The publish is framework-dependent and portable, and both stages use runtime 10.0.15.Tradeoffs
10.0-alpine, OpenSSL 3.5.9) also negotiates X25519MLKEM768. It uses musl and a different base family, so resolute is the smaller step from the current glibc Ubuntu image.Blast Radius
tzdata-legacy), CA certificates, theappuser, the environment, and the entrypoint do not change.TimeZoneIdalready handles the split intotzdata-legacyon 26.04.x25519, which is also offered.Verification
Measured on linux/arm64, with images built from main and from this branch. The evidence and the review-gate result are in a PR comment.
dotnet kex.dll, cloudflare trace)kex=X25519kex=X25519MLKEM768/health, BFF/health, BFF/, BFF/bff/logindotnet build FullstackTemplate.slnx: 0 warnings, 0 errors.sdk:10.0-resolute.