andreas-mausch / whatsapp-viewer

Small tool to display chats from the Android msgstore.db database (crypt12)
https://andreas-mausch.de/whatsapp-viewer/
MIT License
1.23k stars 381 forks source link

Error decrypting key with database in whatsapp viewer #145

Open BrunoHenrique229 opened 2 years ago

BrunoHenrique229 commented 2 years ago

I recently downloaded a software to extract the whatsapp, key without root, everything went well, but when decrypting the database with the extracted key, it returns an invalid key error, do you have any solution? link of the software I use to extract the key without root https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor/issues ola

Mrakobes666 commented 2 years ago

+1

Syzygianinfern0 commented 2 years ago

Try this: https://github.com/ElDavoo/WhatsApp-Crypt14-Crypt15-Decrypter It worked for me!

aReaSa commented 1 year ago

+1 I have the same problem (already have tried @Syzygianinfern0 suggestion) and could not solve it yet

Adsız
himan1000 commented 1 year ago

Try this: https://github.com/ElDavoo/WhatsApp-Crypt14-Crypt15-Decrypter It worked for me!

dont work

Syzygianinfern0 commented 1 year ago

@aReaSa your terminal prompt output says the decryption was unsuccessful in the first place. There was no point in going further anywas.

@himan1000 you could add something more meaningful to the conversation like saying what went wrong in your case.

himan1000 commented 1 year ago

@aReaSa your terminal prompt output says the decryption was unsuccessful in the first place. There was no point in going further anywas.

@himan1000 you could add something more meaningful to the conversation like saying what went wrong in your case. :

E:\Backup\Whatsapp\WhatsApp-Crypt14-Crypt15-Decrypter-main\WhatsApp-Crypt14-Crypt15-Decrypter-main>python ./decrypt14_15.py ./key ./msgstore.db.crypt14 ./msgstore.db [I] Crypt12/14 key loaded [E] Key version mismatch: b'3' != b'2' To bypass checks, use the "--force" parameter

or E:\Backup\Whatsapp\WhatsApp-Crypt14-Crypt15-Decrypter-main\WhatsApp-Crypt14-Crypt15-Decrypter-main>python ./decrypt14_15.py ./key ./msgstore.db.crypt14 ./msgstore.db -f -v [V] Reading keyfile... [I] Crypt12/14 key loaded [V] Parsing database header... [V] WhatsApp version: 2.22.14.74 [V] Your phone number ends with [E] Key version mismatch: b'3' != b'2' [E] Server salt mismatch: .... [E] Google ID mismatch: .... != b.... [I] Database header parsed [V] Decrypting... [E] I can't recognize decrypted data. Decryption not successful. The key probably does not match with the encrypted file. [I] Done

The Key and the Backup are from the same Phone.

aReaSa commented 1 year ago

@Syzygianinfern0 thanks for the interest. Yes the terminal output was unsuccessful when I got this screenshot. Later, i have managed to decrypt via terminal yet it still didn't work on the WhatsApp viewer.

I'd like to know what versions or what phones people using

himan1000 commented 1 year ago

@Syzygianinfern0 thanks for the interest. Yes the terminal output was unsuccessful when I got this screenshot. Later, i have managed to decrypt via terminal yet it still didn't work on the WhatsApp viewer.

I'd like to know what versions or what phones people using

WhatsApp version: 2.22.14.74 and Huawai P20

What can i do for decrypting?

himan1000 commented 1 year ago

@Syzygianinfern0 thanks for the interest. Yes the terminal output was unsuccessful when I got this screenshot. Later, i have managed to decrypt via terminal yet it still didn't work on the WhatsApp viewer.

I'd like to know what versions or what phones people using

Any idea?

himan1000 commented 1 year ago

It doesn't work because the key has changed to 3 instead of 2. Therefore, I can no longer decrypt the backup. I still have to test whether the original Whatsapp version works on the cell phone...