Files
node/tools
Filip Skokan fe6a4cd9c5 crypto: harden X509Certificate state
Construct X509Certificate instances directly on the existing native
X.509 wrapper and keep lazy cached values in private state. Use a
non-throwing native brand check while preserving the existing
structured-clone behavior.

Preserve derived-constructor prototype semantics without rereading
new.target.prototype.

Add coverage for receiver validation, hidden state, prototype edge
cases, subclassing, and structured cloning through workers and message
ports.

Replace the key-only instanceof lint rule with a module-aware crypto
class guard and extend it to X509Certificate. Resolve references by
lexical binding so shadowed constructor names remain valid.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/65518
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2026-08-26 21:36:07 +00:00
..
2026-05-19 14:35:54 +00:00
2026-08-20 13:18:01 +00:00
…
2026-03-22 11:36:13 +00:00
2026-08-22 17:18:06 +00:00
…
2024-10-15 13:59:49 +00:00
2025-11-22 16:37:32 +00:00
2024-10-09 06:42:16 +00:00
2024-10-09 06:42:16 +00:00
2024-10-15 13:59:49 +00:00
2025-01-29 21:55:05 +00:00
2026-05-14 20:51:41 +00:00
…