ColorNote-backup-decryptor icon indicating copy to clipboard operation
ColorNote-backup-decryptor copied to clipboard

Worked, with lots of cleanup afterwards

Open johnhe4 opened this issue 1 year ago • 3 comments

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

johnhe4 avatar Oct 27 '23 00:10 johnhe4

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?

Marten-Reehorst avatar Dec 23 '23 16:12 Marten-Reehorst

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.

johnhe4 avatar Dec 27 '23 15:12 johnhe4

It looks like the JSON can be cleaned up with the fixup scripts, e.g.

./ColorNote-backup-decryptor/fixup-v3 notes.json test.json

EpicVoyage avatar Dec 27 '23 18:12 EpicVoyage