JFC-Group / JF-Customisation

Firmwares, Tips and Tricks regarding JF
149 stars 37 forks source link

not able to decrypt using the key from /flash/secure/key.txt #19

Closed tanishqjasoria closed 1 year ago

tanishqjasoria commented 1 year ago

I got the key: RRIOTJI00000524XXXXXXXXXXXXXXXXXXXXXXXXXXXX (<32 char string>) then i used this command to decrypt the back up file: openssl aes-128-cbc -d -pass file:key.txt -in RRIOTJI00000524_JCOW411.enc -out RRIOTJI00000524_JCOW411.txt openssl aes-128-cbc -d -md md5 -pass file:key.txt -in RRIOTJI00000524_JCOW411.enc -out RRIOTJI00000524_JCOW411.txt had the same error

Using -iter or -pbkdf2 would be better.
bad decrypt
4087D438AD7F0000:error:1C800064:Provider routines:ossl_cipher_unpadblock:bad decrypt:../providers/implementations/ciphers/ciphercommon_block.c:124:

OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

tanishqjasoria commented 1 year ago

apparently it was not needed - found the server.key in the firmware and it decrypted using that. EDIT: it only decrypted the dbglog file and not the config file.

itsyourap commented 1 year ago

Can you tell me your Router Firmware version?

tanishqjasoria commented 1 year ago

ARCNTF1_JCOW411_R2.21

itsyourap commented 1 year ago

Completed via Telegram DMs

Gangadhararao29 commented 1 year ago

I am also facing the same issue , I got the secret file but decreption is failing

itsyourap commented 1 year ago

I am also facing the same issue , I got the secret file but decreption is failing

@Gangadhararao29 Please tell me your firmware version

Gangadhararao29 commented 1 year ago

@itsyourap JCOW414 v2.49

itsyourap commented 1 year ago

@itsyourap JCOW414 v2.49

@Gangadhararao29 You can definitely downgrade your firmware from the WEB-UI and get root if you want.