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

Improvements to notes parsing #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

newtrawl
Copy link

@newtrawl newtrawl commented Mar 8, 2023

This PR fixes some bugs with how notes were handled and adds support for the newer protocol buffer based ZDATA column.

Some of the old SQL queries were using incorrect join conditions and one of them was invalid SQL due to a typo. The new queries are based on information from https://github.com/threeplanetssoftware/apple_cloud_notes_parser/blob/master/lib/AppleNoteStore.rb and work correctly for the backups I have available for testing.

The newly added notestore.proto file needed for parsing the ZDATA column is copied from https://github.com/threeplanetssoftware/apple_cloud_notes_parser/blob/master/proto/notestore.proto and under MIT license.

I believe this PR resolves issue #50.

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

Successfully merging this pull request may close these issues.

None yet

1 participant