Added more debugging, a package filter, a mode to only verify metadata, and more help output #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Having spent the past 72 hours struggling to recover a CalyxOS backup onto a GrapheneOS phone, this tool was invaluable. Thank you for creating it!
To troubleshoot issues and generally learn how Seedvault is supposed to work, I added more debugging messages. Eventually, I started adding some convenient features and decided it was worth offering up.
Since I was searching across multiple backups, trying to test mnemonic phrases and find certain app data, I added a "--check" flag to verify when I had the right mnemonic and a "--package" flag to extract only the needed package.
While I was at it, I added "--debug" so it can be either an environment variable or a command-line option. Plus a "--help" flag and detailed output.
Let it be known that this is the first time I've written Golang and had it actually compile. So please be gentle. 😅