Triplebit describes modifying its custom Caddy build to expose hybrid post-quantum TLS groups that Go supports but Caddy does not yet offer through configuration. The change is intended to reduce reliance on 256-bit elliptic-curve cryptography, which the organization considers unsafe. Its Caddyfile snippet selects P-384 for the server’s private key, permits TLS 1.2 and 1.3, and enables secp384r1mlkem1024 and secp256r1mlkem768 alongside x25519mlkem768. It disables conventional X25519 and P-256 curves, while retaining the hybrid groups using 256-bit curves for their broader post-quantum security and client compatibility.
The configuration also requests Let’s Encrypt’s ISRG Root X2 chain, avoiding Root X1’s RSA-2048 intermediates, and uses six-day certificates; a 45-day TLS-server profile is offered as a less demanding alternative. Operators install the patched binary in place of Debian’s packaged Caddy executable, import the TLS snippet for each site, then validate and restart the service. An OpenSSL test checks which key-exchange groups successfully connect before and after the change. Triplebit expects no browser-compatibility problems from disabling X25519, since browsers that support it also support P-384, and argues that removing it prevents browsers from preferring the weaker classical option. The organization may later enforce post-quantum groups exclusively, depending on traffic and client support.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.