[GH-ISSUE #63] Old backups cannot be decrypted #57

Closed
opened 2026-02-25 20:34:33 +03:00 by kerem · 2 comments
Owner

Originally created by @danzilberdan on GitHub (Aug 21, 2020).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/63

whapa decrypts backups fine with the key from the same phone.
But when using old backups (from google drive), the same key fails to decrypt the database with the following error message:
"Error -3 while decompressing data: incorrect header check"

Originally created by @danzilberdan on GitHub (Aug 21, 2020). Original GitHub issue: https://github.com/B16f00t/whapa/issues/63 whapa decrypts backups fine with the key from the same phone. But when using old backups (from google drive), the same key fails to decrypt the database with the following error message: "Error -3 while decompressing data: incorrect header check"
kerem closed this issue 2026-02-25 20:34:33 +03:00
Author
Owner

@B16f00t commented on GitHub (Sep 13, 2020):

That is not a whapa problem, I understand that the decryption key for the new copies is different from that of the old copies

<!-- gh-comment-id:691700211 --> @B16f00t commented on GitHub (Sep 13, 2020): That is not a whapa problem, I understand that the decryption key for the new copies is different from that of the old copies
Author
Owner

@danzilberdan commented on GitHub (Sep 16, 2020):

But whatsApp is able to decrypt the old database. How does it do it if it's using a different key file?
My understanding is that each phone number has only one key file so the keys should be the same in the old and new phone.

<!-- gh-comment-id:693649371 --> @danzilberdan commented on GitHub (Sep 16, 2020): But whatsApp is able to decrypt the old database. How does it do it if it's using a different key file? My understanding is that each phone number has only one key file so the keys should be the same in the old and new phone.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whapa#57
No description provided.