crypto: clarify missing cipher error · nodejs/node@fea0666 · GitHub
Skip to content

Commit fea0666

Browse files
panvaaduh95
authored andcommitted
crypto: clarify missing cipher error
Explain that a cipher is required when a passphrase is provided. Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #64852 Backport-PR-URL: #65087 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 33fec91 commit fea0666

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

lib/internal/crypto/keys.js

Lines changed: 3 additions & 1 deletion

test/parallel/test-crypto-key-objects.js

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)