-
Notifications
You must be signed in to change notification settings - Fork 386
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 cannot be decrypted (again) #120
Comments
Same problem here. Seems to be the actual WhatsApp Version changed something in the decrypted file. Thx for the very good work |
Perhaps @torsade has suggestions? |
same. few thing I noticed:
What is this? Anybody has a clue? Is is the same across two backup, so it's either unencrypted information or encrypted without salt,iv (?) Since it is right after version information, I guess it's some other version date build id? Or maybe it's a header that describes how to encrypt the following data? (???)
I will try to code a "bruteforcer" that tries all possible offsets. I know it's ugly but this is my skill level, lol |
yay! WHATSAPP_DBFILE_SERVERSALT_OFFSET = 15 Some questions arise from what's going on, though:
|
Actually i can't too decrypt latest database. I'd deleted my whatsapp app, then i reinstalled it and made backup base. I copied the base and the new key to pc and couldn't decrypt it also. Something new whatsapp developers did with saving database or code in the key or DB. I really don't know what to do @andreas-mausch help us by fixing this error please. |
Update: I was able to restore the backup on my new Smartphone. I was writing a bit back and forth with WA Support and my takeaway was that the connection between WA and Google Drive must also exist for local backups. My guess is that WA is saving something there in the app-dedicated storage area although the "real" Google Drive Backup is disabled. (How crappy would that be?)
I do not know if there is an easier way. This is how it worked for me, though. I don't know what would be worse: If it is a bug or even intention to almost render local backups useless. |
wtf |
Update: WA support finally admitted it is a "known problem" and "will be fixed in one of the upcoming versions". Doesn't seem to be a priority... |
Hello I can decrypt a database from May 11th, but I cannot decrypt a database from June. Is this because of the changed offsets? Edit: restoring from a local backup (that WhatsApp states is 2.7 GB, always hangs at 39% :( |
any new update to slove new 14 crypt ? |
I guess I have this offset problem as well. I don't have a visual studio handy to compile a version with modified offsets so I'm replying here in the hope that this with remind me if this is fixed. |
any news? |
I've been decrypting with a python script for a while (stable version of wa) . some people had issues, but i don't know, it works for me |
thank you, my db is from the latest beta so it's not working, how do you "brute force" to find the offsets? |
Use for loops and see if zlib can decode or there is an error. |
Any news? And neither decrypt in WV. |
Thank you! |
New offsets are used in v1.15 Note: If you have a backup with the old offsets, you need to install v1.14. I don't have plans to support both. |
i just downloaded this software v1.15 (first time using it) and i'm getting the same decryption failed error because of the key and i have no idea why. the local backup file was made an hour ago, it's not an older crypt14. |
Uh. What is your WhatsApp version? |
2.21.15.20 |
I just tested and it works for me, version 2.21.16.20 . Maybe some people are having different offsets or formats. |
As ElDavoo said, just update to 2.21.16.20, then try to decrypt a fresh data backup (you can do the installation offline). Worked perfect with me finally! |
can you please help me with this code? |
i need some help, how can i contact you? |
I am also getting this error |
I unfortunately cannot contribute in any way since I could never make it work. Fortunately, after writing back and forth with WA support and them telling me they couldn't help, suddenly after a WA app update the old DB was recognised.
Am 22. November 2024 11:23:38 MEZ schrieb nuel-clet ***@***.***>:
…> > Hello I'm here just because I need to read a crypt14 file because of accidentally erasing my Whatsapp and could not restore the local database with reinstalling whatsapp. I have the key and the crypt14 file I want to convert to readable text. But my files are from the period around 24-05-21 and don't work with the whatsappviewer get an error message. I saw that ElDavoo made a change with the offsets in a program but this is (not) included in the program I download again? I'm not a pro programmer just like to figure out how to fix this issue. I read the encrypted db in hex and understand more or less the problem with the versions But how do you know where an offset starts? Howmany versions exists since they started with crypt14? Because what I understand that at the beginning the whatsapp viewer did work?
> > ![image](https://user-images.githubusercontent.com/37403148/120112622-df349900-c176-11eb-8291-0334550c99d3.png)
>
> Actually, that was the scenario why I tried to use whatsapp-viewer, too. My phoned died irreversibly but I have recent local backups which are not recognised by a new WA installation on another phone. Is it possible, that WA's backup restore function is at the moment broken or glitchy? Maybe the WA developers confused themselves by changing the offset again? Can someone else confirm this behaviour of WA?
I am also getting this error
any way around it?
@andreas-mausch
@ymmij321
@ElDavoo
--
Reply to this email directly or view it on GitHub:
#120 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
I am trying to decrypt a recent (26.05.21) crypt14 DB. Keyfile is available.
Result: Decryption failed. Error during unzipping.
To make sure it is not another problem I created on the same device a new backup and extracted the key again. Result is the same. Did maybe something change in the DB format again recently?
The text was updated successfully, but these errors were encountered: