Comments (10)
I'm unable to recreate the issue in order to investigate. Does this happen with the jar I provided or with your own compiled version? What version is your current JRE?
from whatsapp-crypt12-decrypter.
The problem was fixed when I used openjdk instead of Oracle.
It was the jar you provided.
Both jdks are on 1.8
from whatsapp-crypt12-decrypter.
WhatsApp is unable to decrypt the crypt12 file because of key file mismatch. The key is from the same account. I deleted the key file, installed whatsapp on a rooted device and the new key file didn't work either. I also used whatcrypt.com.
Is whatsapp creating a new key file for each backup?
How to fix this? The keys are from the same whatsapp account and number.
from whatsapp-crypt12-decrypter.
The key file only usually changes if you physically re-install WhatsApp, although the cipher key can roll at any time. My own cipher key has not rolled for months so not sure what's going on there. Just grab the latest key and hope for the best I guess.
from whatsapp-crypt12-decrypter.
Other keys from the same account don't work. I can send you sample key files from the same account. It looks similar, just the ending has been changed when I viewed it on notepad++.
from whatsapp-crypt12-decrypter.
A footer is being added to the key files. I had this situation long ago with previous crypt versions and different key files had worked. I think whatsapp has changed it to make it more secure.
from whatsapp-crypt12-decrypter.
I have a solution though it's not good enough. If you install whatsapp and opt for restoring the history, the same key file is downloaded. If you don't opt for restoration, a different key is downloaded.
Hope this helps you know what's going on.
from whatsapp-crypt12-decrypter.
Sometimes after you have restored WhatsApp from a backup, the key file gets replaced with a new cipher key (this does not always happen). To understand the data within the key file please take a look at: https://github.com/EliteAndroidApps/WhatsApp-Key-Generator which breaks everything down.
The key file does not contain a footer. The crypt12 database does contain a footer. The footer contains an md5 hash of the encrypted backup file (minus header / footer) and --nn (last two digits of cell number / whatsapp jid).
from whatsapp-crypt12-decrypter.
Oh, thank you. Will this help me get the key file that matches the database?
from whatsapp-crypt12-decrypter.
Closed but a question for clarification: It does not seem that the footer contains a md5 of the database file after encrypting (excluding header and footer). Say the md5 of the bytes between the first 67 and the last 20 bytes. Version is 0xpp 0x01 0x02. Any info on this? Want to carve for WhatsApp backups...
from whatsapp-crypt12-decrypter.
Related Issues (11)
- about Key HOT 1
- Illegal key size HOT 1
- How did you figure out which bytes are for key, Id and IV? HOT 1
- .crypt14 file results in "Key file mismatch or crypt12 file is corrupt." HOT 15
- 5393799
- java.security.InvalidKeyException: Illegal key size HOT 1
- It is always showing "The specified input key file does not exist HOT 5
- Db Get Decrypted but requires password HOT 1
- Interact Intent?
- Decrypt / Crypt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-crypt12-decrypter.