mirror of
https://github.com/ElDavoo/wa-crypt-tools.git
synced 2026-04-26 14:15:55 +03:00
[GH-ISSUE #42] Keyfile is not a valid Java object #27
Labels
No labels
bug
documentation
enhancement
enhancement
good first issue
help wanted
info needed
invalid
low priority
pull-request
skill issue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wa-crypt-tools#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Nov 23, 2022).
Original GitHub issue: https://github.com/ElDavoo/wa-crypt-tools/issues/42
Originally assigned to: @ElDavoo on GitHub.
Program returns the following error
[F] The keyfile is not a valid Java object: Invalid file magic: 0xefbbI made a text file using gedit with the key inside and then renamed it to
encrypted_backup.key. Is that not right?Thank you
@ElDavoo commented on GitHub (Nov 23, 2022):
Hi,
That's not right. You have two ways:
encrypted_backup.keyfileLet me know!
@ElDavoo commented on GitHub (Nov 23, 2022):
If you're too lazy to do that and you're not using Windows, you can use a shell trick to read the file and use it as it was a parameter:
python ./decrypt14_15.py $(cat encrypted_backup.key) ./msgstore.db.crypt15 ./msgstore.dbor
@ghost commented on GitHub (Nov 24, 2022):
Your second solution worked :) (I had to use
--forcethough, do I report that somewhere?) and I am now able to access all my messages with DB Browser for SQLite. Thank you tons :)))@ElDavoo commented on GitHub (Nov 24, 2022):
Yes. Can you send the full log?
@ghost commented on GitHub (Nov 24, 2022):
How to do so?
@ElDavoo commented on GitHub (Nov 24, 2022):
select all the program output and the command line and copy-paste here
@ghost commented on GitHub (Nov 24, 2022):
It actually worked fine now without
--forcewhen doing a re-run, so it may have been one of the error-runs where I didn't have all of the packages and I misremembered. Sorry for the confusion!@julienthevenoz commented on GitHub (Nov 11, 2024):
Hi !
I have the same problem as OP.
But for option 1 : the link you posted utils/hex_string_to_encrypted_backup_key.py seems to not exist anymore
For option 2 : the link you post sends to the readme of your repo, and I cannot find an example of providing the key directly in the command line.
Help ?