verifier_tools: Add support for Mainline Modules Tessera sharded log. - #16
Merged
Merged
Conversation
cmd/verifier/verifier.go: - configured base URL and note verifier for the Android Mainline Modules Tessera shard (2026/02). - updated logTarget chain so --log_type=mainline_module checks the latest Tessera shard (2026/02) first, and automatically falls back to the legacy 2026/01 shard if the candidate payload is not found. internal/checkpoint/checkpoint.go: - added origin constant `originIDMainlineModuleTessera`. - updated `parseCheckpoint` to recognize and parse the new Tessera origin (`android.transparency.goog/mainline/modules/2026/1`). internal/checkpoint/checkpoint_test.go: - added test case in `TestValidCheckpointFormat` for the new Mainline Modules Tessera checkpoint origin. README.md: - added documentation for Android Mainline Modules Transparency Log endpoints (legacy and 2026/02 Tessera shard), `--log_type=mainline_module`, and payload format. - clarified `hash_description` format for Google Product Applications and Mainline Modules supporting both APK and APEX binaries. Change-Id: I8c78e2ad9ae9542e8c6e64ee81c395b7adb05d2d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
cmd/verifier/verifier.go:
internal/checkpoint/checkpoint.go:
originIDMainlineModuleTessera.parseCheckpointto recognize and parse the new Tessera origin (android.transparency.goog/mainline/modules/2026/1).internal/checkpoint/checkpoint_test.go:
TestValidCheckpointFormatfor the new Mainline Modules Tessera checkpoint origin.README.md:
--log_type=mainline_module, and payload format.hash_descriptionformat for Google Product Applications and Mainline Modules supporting both APK and APEX binaries.Change-Id: I8c78e2ad9ae9542e8c6e64ee81c395b7adb05d2d