mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
Provider-backed keys can have no numeric OpenSSL ID. Identify and construct asymmetric keys by algorithm name, replacing the custom PQC name-to-NID substitution with provider-aware matching in ncrypto. Centralize known algorithm names, public key-type names, capabilities, and backend compatibility in ncrypto. Use named key generation jobs and remove asymmetric EVP_PKEY constants from the internal JavaScript binding. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: https://github.com/nodejs/node/pull/65966 Backport-PR-URL: https://github.com/nodejs/node/pull/66233 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>