-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.crypt14 file results in "Key file mismatch or crypt12 file is corrupt." #12
Comments
in a |
I've also noticed that the 16 bytes at offset 62 to 77 in the In a In my code I've called these In addition, in the |
andreas-mausch/whatsapp-viewer@7035b9c This contains a C++ implementation of .crypt14 decrypt Take also a look here: |
@aldennisa15 Do you need to get the key file again from wa's data folder? |
@ElDavoo I didn't, I'm using the same |
@aldennisa15 can you make a patch please? I can't manage to patch it on my own for some reason. |
I'm stupid lol, I made a pull request #13 |
@aldennisa15 not working anymore with latest dump. |
IV now starts at byte 67, but don't know about the rest. |
I found the offsets. Since the project seems dead, i'll keep updating offsets in my fork. |
hey guys, amazing work. in your opinion is it doable to convert an unencrypted msgstore.db back to an encrypted crypt12 file ? can it be even done in a way for whatsapp to recognize it and restore the messages from it? |
@courious875 have you tried putting the unencrypted backup in the Databases folder? |
@ElDavoo yes and it's working like a charm. as a side-challenge I was trying to re-encrypt .db databases back into .crypt12 format, but no luck so far. WhatsApp would not recognize them, no matter what I tried. In my opinion the header and footer are the problem, as they seem to be very unique that provide very precise info to the WhatsApp server what makes it to be recognized as its own. I can't seem to be able to find anything new on the subject on GitHub or else. |
@ElDavoo Many thanks, I can see that you guys made quite a progress ! Nice work ! |
After years of successfully using
WhatsApp-Crypt12-Decrypter
to access MY chat data, this week it stopped working :-(WhatsApp on my phone looks to have updated to v2.21.8.17 and is now generating local backups with a
.crypt14
extension instead of.crypt12
.Unsurprisingly,
WhatsApp-Crypt12-Decrypter
chokes on this with the errorKey file mismatch or crypt12 file is corrupt.
However, armed with
hexdump
and a bit cunning, I've worked out how to tweak the python so that it successfully decodes.crypt14
files.Details to follow shortly and/or a fork etc for anyone else interested.
The text was updated successfully, but these errors were encountered: