JFC-Group / JF-Customisation

Firmwares, Tips and Tricks regarding JF
139 stars 36 forks source link

Backup decryption not working #32

Closed mrishi closed 2 months ago

mrishi commented 1 year ago

But it gives this error: *** WARNING : deprecated key derivation used. Using -iter or -pbkdf2 would be better. bad decrypt 009EDFFF01000000:error:1C800064:Provider routines:ossl_cipher_unpadblock:bad decrypt:providers/implementations/ciphers/ciphercommon_block.c:124:

Pls. help..

itsyourap commented 1 year ago

The encryption keys have changed since then. Use https://github.com/JFC-Group/JF-Customisation/blob/master/keyguesser.py

mrishi commented 1 year ago

Thanks but same result. Btw, I am on firmware 2.29 on JCOW404 model.

Also, I noticed that the key dumped by old method was in the format: \<Router Serial>\<DefaultSSID Suffix>\<some hex-key>, which seems to be as per the permutations you are generating in keyguesser.py.

So, I tried to add the hex-key part of the key to your keys list in keyguesser.py, so that it could be used in the generated permutations, but that didn't help either.

itsyourap commented 2 months ago

Since, we are not able to identify the issue here, we are closing this issue