WhatsApp-Chat-Exporter
WhatsApp-Chat-Exporter copied to clipboard
feature request: export 64-digit encryption key
Hello, I have a feature request. Would it be possible to output / export the 64-digit encryption key so that I can import an E2E encrypted backup?
This is the use case: I forgot my password for the E2E encrypted backup and did not save the 64-digit encryption key.
I wanted to update my phone to a new LineageOS version, so I backed up Whatsapp and then deleted all partitions. I also made a backup of the Whatsapp folder in /data/data, so I still have encrypted_backup.key as a file.
The export also works without problems, but unfortunately Whatsapp does not seem to accept this non-encrypted database; at least when I reinstalled Whatsapp, I was not offered a restore with it.
Hi. Do you mean provide a way to parse the encryption key and show the key in hex form?
Hi, yes the output in the same form as you have to enter the key when restoring in whatsapp, i.e. as a 64-digit hex code.
I added an option (-s) to the CLI for showing the hex key. I don't have the next release plan for now. You can check it out by installing the exporter with the follow command:
pip install git+https://github.com/KnugiHK/Whatsapp-Chat-Exporter.git@dev
is working, thank you very much
I will leave it open until the feature is being released