You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried using it with node 18, and got the following error:
$ npx jasypt -p 0x1995 -e admin
node:internal/crypto/cipher:116
this[kHandle].initiv(cipher, credential, iv, authTagLength);
^
Error: error:0308010C:digital envelope routines::unsupported
at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
at new Cipheriv (node:internal/crypto/cipher:243:3)
at Object.createCipheriv (node:crypto:141:10)
at Encryptor.encrypt (/home/code/node_modules/jasypt/encryptor.js:58:27)
at Jasypt.encrypt (/home/code/node_modules/jasypt/jasypt.js:40:28)
at encrypt (/home/code/node_modules/jasypt/bin/jasypt.js:16:22)
at Command.<anonymous> (/home/code/node_modules/jasypt/node_modules/commander/index.js:412:13)
at Command.emit (node:events:513:28)
at Command.parseOptions (/home/code/node_modules/jasypt/node_modules/commander/index.js:730:14) {
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.13.0
The text was updated successfully, but these errors were encountered:
@rickyes - I am running into this issue as well, when upgrading to node v18 as v16 is close to ending LTS. Any idea when a change to support v18 can be made?
Tried using it with node 18, and got the following error:
The text was updated successfully, but these errors were encountered: