Skip to content

Conversation

@sgvictorino
Copy link
Contributor

No description provided.

@bwesterb
Copy link
Member

bwesterb commented Aug 6, 2025

Do you have a pointer to the release notes for node where it mentions adding PQ?

@sgvictorino
Copy link
Contributor Author

sgvictorino commented Aug 6, 2025

They now vendor OpenSSL 3.5 and benefit from the new default groups:

openssl genpkey -algorithm ed25519 -out key.pem
openssl req -new -x509 -key key.pem -out cert.pem -subj "/"
// server.js
import { createServer } from "tls";
import { readFileSync } from "fs";

createServer({
  key: readFileSync("key.pem"),
  cert: readFileSync("cert.pem"),
  // You can also configure the new groups by name
  // Node passes this to SSL_CTX_set1_curves_list
  // ecdhCurve: "SecP384r1MLKEM1024:X25519MLKEM768",
}, (socket) => {
  socket.on("error", console.error);
}).listen(16173, () => {
  console.log("listening");
});
node server.js &
# listening

openssl -version # OpenSSL 3.5.1 1 Jul 2025...

openssl s_client -connect localhost:16173 -brief -no-interactive
# ...
# Negotiated TLS1.3 group: X25519MLKEM768

@RebeccaTamachiro RebeccaTamachiro merged commit 19f5acb into cloudflare:production Aug 12, 2025
5 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Aug 12, 2025
@holopin-bot
Copy link

holopin-bot bot commented Aug 12, 2025

Congratulations @sgvictorino, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cme89of7n401107jpxow4z20h

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes a docs contribution, big or small product:ssl Related to SSL size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants