-
Notifications
You must be signed in to change notification settings - Fork 163
vmgs: refactor implementation #2637
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
chris-oo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few comments but mostly reasonable.
What are your thoughts on the whole encryption feature at this point? Should it still exist?
I think the encryption feature is good since it makes the core vmgs implementation more portable. I could envision a future scenario where we are trying to bring up a new platform that doesn't support the crypto we currently have but we want vmgs to work. Plus this allows you to build vmgstool without encryption if that is all you need, which is faster and requires less dependencies. |
There are some tests that indirectly test it (test_validate_header, test_initialize_file_metadata) but I can see if I can test it more directly as well. |
4b64315 to
71880a6
Compare
Refactors the vmgs implementation to minimize duplicate code, especially the number of places where the raw VMGS file reads and writes occur.