crypto: make webcrypto aliasKeyFormat directional · nodejs/node@7e9ca87 · GitHub
Skip to content

Commit 7e9ca87

Browse files
panvaaduh95
authored andcommitted
crypto: make webcrypto aliasKeyFormat directional
The helper no longer treats every raw alias the same way and unintended values were accepted for some algorithms. Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #63910 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 3f81dcf commit 7e9ca87

2 files changed

Lines changed: 77 additions & 12 deletions

File tree

lib/internal/crypto/webcrypto.js

Lines changed: 5 additions & 12 deletions
Lines changed: 72 additions & 0 deletions

0 commit comments

Comments
 (0)