Skip to content

Commit 742849d

Browse files
authored
test: cover webcrypto prototype pollution systematically
Drive the regression test from the WebCrypto algorithm registry so all supported algorithms and operations must add explicit coverage regardless of whether they are native-job backed or js-based. Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #63520 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent ecee55e commit 742849d

2 files changed

Lines changed: 796 additions & 363 deletions

File tree

lib/internal/crypto/util.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,7 @@ module.exports = {
960960
toBuf,
961961

962962
kNamedCurveAliases,
963+
kSupportedAlgorithms,
963964
normalizeAlgorithm,
964965
normalizeHashName,
965966
hasAnyNotIn,

0 commit comments

Comments
 (0)