ColorNote-backup-decryptor
ColorNote-backup-decryptor copied to clipboard
Worked, with lots of cleanup afterwards
Thank you for this! I tried a few of the combinations in your readme and this worked for an archive from October 2023:
java -jar colornote-decrypt.jar 0000 28 < ~/Downloads/colornote-20231026.backup > ~/Downloads/notes.json
Hi johnhe4, great that you got it to work. What is the number 28 here? You're command does run (unlike the suggestions in the readme) but unfortunately the output is nonsense hexadecimal numbers. I take it you managed to get some human readable json?
If you scrub through the readme you'll see an example claiming:
...28 is a magic offset
I tried different values and that was the one that worked for me.
The output isn't perfect but I do have json-ish text. The biggest issue was invalid characters that I removed manually by loading the resulting file in Visual Studio Code and fixing the errors.
It looks like the JSON can be cleaned up with the fixup scripts, e.g.
./ColorNote-backup-decryptor/fixup-v3 notes.json test.json