mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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>
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.