andreas-mausch / whatsapp-viewer

Small tool to display chats from the Android msgstore.db database (crypt12)
https://andreas-mausch.de/whatsapp-viewer/
MIT License
1.23k stars 381 forks source link

Suggestion: Encrypt Whatsapp database #92

Open edwa opened 4 years ago

edwa commented 4 years ago

Add feature for encrypt msgstore.db or messages.decrypted.db to msgstore.db.crypt12.

sugestion

All My chat history in /sdcard/Whatsapp/Databases/ is corupted but I can read msgstore.db (in /data/data/com.whatsapp/databases/) with Whatsapp-Viewer. If Whatsapp-Viewer can encrypt msgstore.db to msgstore.db.crypt12 we can copy that file to /sdcard/Whatsapp/Databases/. And when reinstall Whatsapp maybe WA can restore that file.

*other link like my problem https://forum.xda-developers.com/showpost.php?p=78571368&postcount=3

Thankyou

yoshimo commented 3 years ago

It is quite difficult to combine backups and new state and have WA accept it. I'd welcome any attempt at this.

DurandA commented 3 years ago

To implement this, we need to find how the header and footer are constructed. See https://stackoverflow.com/questions/55948189/how-to-generate-the-header-and-footer-for-whatsapps-crypt12-format