Git Product home page Git Product logo

Comments (10)

EliteAndroidApps avatar EliteAndroidApps commented on August 23, 2024

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.

timea-techgirl avatar timea-techgirl commented on August 23, 2024

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.

timea-techgirl avatar timea-techgirl commented on August 23, 2024

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.

EliteAndroidApps avatar EliteAndroidApps commented on August 23, 2024

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.

timea-techgirl avatar timea-techgirl commented on August 23, 2024

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.

timea-techgirl avatar timea-techgirl commented on August 23, 2024

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.

timea-techgirl avatar timea-techgirl commented on August 23, 2024

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.

EliteAndroidApps avatar EliteAndroidApps commented on August 23, 2024

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.

timea-techgirl avatar timea-techgirl commented on August 23, 2024

Oh, thank you. Will this help me get the key file that matches the database?

from whatsapp-crypt12-decrypter.

ChrisSG avatar ChrisSG commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.