Skip to content

verifier_tools: Add support for Mainline Modules Tessera sharded log. - #16

Merged
billy-lau merged 1 commit into
android:mainfrom
billy-lau:verifier_tools/support-new-log
Sep 4, 2026
Merged

verifier_tools: Add support for Mainline Modules Tessera sharded log.#16
billy-lau merged 1 commit into
android:mainfrom
billy-lau:verifier_tools/support-new-log

Conversation

@billy-lau

Copy link
Copy Markdown
Member

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

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
@billy-lau
billy-lau merged commit b9e94ce into android:main Sep 4, 2026
7 checks passed
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.

1 participant