samfirm.js
samfirm.js copied to clipboard
bad decrypt
LOG: https://pastebin.com/jC1FZH3E
OS: Windows
Hi @jesec ,
sorry to bother you, but I am facing the same issue as @ITProggeruz.
Could you please find a moment to adress this?
Thanks a lot!
Are you affiliated with the site SamFirm ?
Its with the firmware decryption issue i think
Or linux may*be could help
Same problem here in Linux Mint 21.3
$ samfirm -m SM-A505FN -r DBT
Model: SM-A505FN
Region: DBT
Latest version:
PDA: A505FNXXU9CWB4
CSC: A505FNOXM9CWB4
MODEM: A505FXXU9CWB1
node:internal/crypto/cipher:193
const ret = this[kHandle].final();
^
Error: error:1C800064:Provider routines::bad decrypt
at Decipheriv.final (node:internal/crypto/cipher:193:29)
at module.exports.__webpack_modules__.3396.exports.decryptNonce (/usr/local/lib/node_modules/samfirm/dist/index.js:11696:23)
at module.exports.__webpack_modules__.3396.exports.handleAuthRotation (/usr/local/lib/node_modules/samfirm/dist/index.js:11714:36)
at handleHeaders (/usr/local/lib/node_modules/samfirm/dist/index.js:11552:68)
at /usr/local/lib/node_modules/samfirm/dist/index.js:11572:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async main (/usr/local/lib/node_modules/samfirm/dist/index.js:11563:5) {
library: 'Provider routines',
reason: 'bad decrypt',
code: 'ERR_OSSL_BAD_DECRYPT'
}
Node.js v20.13.1