commit | 46a1dffe28c4d393b06840ebba912143c8072a6f | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Tue Dec 14 10:56:05 2021 +0000 |
committer | Alan Stokes <alanstokes@google.com> | Thu Dec 16 10:08:15 2021 +0000 |
tree | 07dde4e5141e1d7eeae5d6eaa4bb30cdd7d9e2b5 | |
parent | 2bf6ca1bb83e7acf655825dffa1641d80771e7b0 [diff] |
Sign artifacts after compilation If compilation succeeds, pass over all the artifacts we generated and produce an OdsignInfo file with all the names and digests and a signature of it using the CompOS key. Various refactorings along the way to make it eaiser: - Extract the odrefresh ExitCode enum for reuse - Extracted a Signer, distinct from an ArtifactSigner - Defined OdrefreshContext to stop the linter complaining about a function with >7 arguments. Also added more debugging to help fix my various silly mistakes. Bug: 161471326 Test: composd_cmd forced-odrefresh -> signature file produced Change-Id: Ia6a6abd9e28158f4767e7752727635087f9bb566
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.