Files
node/deps/ncrypto
Filip Skokan d3ed6c153c tls: report negotiated TLS groups
When OpenSSL reports no peer temporary key object for TLS key
agreement, fall back to the negotiated TLS Supported Group name.
This lets getEphemeralKeyInfo() identify PQ, hybrid, and other
group-based key agreement as TLSGroup without synthesizing a size.

Keep existing DH and ECDH results unchanged when OpenSSL provides
a recognizable temporary key.

Fixes: https://github.com/nodejs/node/issues/59452
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/64119
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2026-07-01 06:40:40 +00:00
..
…
2026-07-01 06:40:40 +00:00
2026-07-01 06:40:40 +00:00
…

Node.js crypto (ncrypto) library

The ncrypto library extracts the base internal implementation of Node.js crypto operations that support both node:crypto and Web Crypto implementations and makes them available for use in other projects that need to emulate Node.js' behavior.