crypto: check RSA JWK alg with SHA-3 hashes · nodejs/node@2e25ae4 · GitHub
Skip to content

Commit 2e25ae4

Browse files
panvaaduh95
authored andcommitted
crypto: check RSA JWK alg with SHA-3 hashes
Reject a supplied JWK alg when no matching identifier exists for the requested RSA algorithm and hash. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: #66237 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent 0370e02 commit 2e25ae4

2 files changed

Lines changed: 43 additions & 1 deletion

File tree

‎lib/internal/crypto/rsa.js‎

Lines changed: 1 addition & 1 deletion
Lines changed: 42 additions & 0 deletions

0 commit comments

Comments
 (0)