Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worked, with lots of cleanup afterwards #8

Open
johnhe4 opened this issue Oct 27, 2023 · 3 comments
Open

Worked, with lots of cleanup afterwards #8

johnhe4 opened this issue Oct 27, 2023 · 3 comments

Comments

@johnhe4
Copy link

johnhe4 commented Oct 27, 2023

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 johnhe4 changed the title Worked with lots of cleanup later Worked, with lots of cleanup afterwards Oct 27, 2023
@Marten-Reehorst
Copy link

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?

@johnhe4
Copy link
Author

johnhe4 commented Dec 27, 2023

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.

@EpicVoyage
Copy link

EpicVoyage commented Dec 27, 2023

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants