easy-no-password icon indicating copy to clipboard operation
easy-no-password copied to clipboard

Error in crypto.createCipheriv on newer Node.js

Open sffc opened this issue 2 years ago • 0 comments

I'm getting the following errors in this module on Node.js 18:

Error: error:0308010C:digital envelope routines::unsupported
    at Cipheriv.createCipherBase (node:internal/crypto/cipher:122:19)
    at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:141:3)
    at new Cipheriv (node:internal/crypto/cipher:249:3)
    at Object.createCipheriv (node:crypto:141:10)
    at .../easy-no-password/lib/token_handler.js:95:25
    at nextTask (.../easy-no-password/node_modules/async/dist/async.js:5327:14)
    at PBKDF2Job.next (.../easy-no-password/node_modules/async/dist/async.js:5334:9)
    at PBKDF2Job.<anonymous> (.../easy-no-password/node_modules/async/dist/async.js:972:16)
    at job.ondone (node:internal/crypto/pbkdf2:61:14) {

sffc avatar Feb 20 '23 20:02 sffc