crypto: map JWK export failures to OperationError · nodejs/node@e4d746c · GitHub
Skip to content

Commit e4d746c

Browse files
panvaaduh95
authored andcommitted
crypto: map JWK export failures to OperationError
Map inaccessible key material to the Web Crypto error type, including seedless ML-DSA and ML-KEM keys converted from KeyObjects. Assisted-by: Codex Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #66237 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent a851dda commit e4d746c

2 files changed

Lines changed: 43 additions & 1 deletion

File tree

‎lib/internal/crypto/webcrypto.js‎

Lines changed: 7 additions & 1 deletion
Lines changed: 36 additions & 0 deletions

0 commit comments

Comments
 (0)