Conversation
dupontgu
approved these changes
Sep 1, 2026
Contributor
Author
|
putting this on hold until we evaluate the AOSP SourceStamp functionality provided by the standard APK signing schema. |
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.
This is the initial PoC for tool signing. Tool signing allows LightOS to distinguish tools built through the trusted Light pipeline from arbitrary APKs. It binds each tool ID to its developer and permanent APK signer, preserves build provenance, and provides the cryptographic identity that will later support approval and revocation lists.
The final flow will work as follows:
recipe.json.This PR provides the tools for stamping, signing and verifying APKs in this flow.
Summary
keygen,stamp,sign, andverifycommandsrecipe.jsonTesting
Notes
signer/keys/is an ignored filesystem keystore intended only for the PoC. Production keys belong in KMS or an HSM.signer/registry.jsonstands in for an authenticated developer portal and ownership database. This will be served by the Light backend when the feature is deployed.