Commit Graph

4 Commits

Author SHA1 Message Date
Jooyung Han cee6de6bd4 apkverify: add tests for invalid zip format
Bug: n/a
Test: atest --test-mapping .
Change-Id: I286d497dee2ae65b2e0c5f6e48f17122543dc7a3
2021-08-12 14:50:20 +09:00
Jooyung Han d821a04c4d libapkverify: Add TEST_MAPPING
Bug: n/a
Test: atest libapkverify.test libapkverify.integration_test
Test: atest --test-mapping p/m/V
  runs libapkverify.test
Change-Id: Id440c9771a1f0974fb3c3bbe83dece74f014611a
2021-08-11 11:18:03 +09:00
Jooyung Han 5b4c70ec35 apkverify: signature verification over signed data
Bug: 190343842
Test: MicrodroidHostTestCases
Change-Id: I130daa50995f30b3a2315a46d8d2f743d20ed0f2
2021-08-10 17:26:58 +09:00
Jooyung Han 19c1d6c70e microdroid_manager: verify APK/APEXes
Even though libapkverify doesn't do much verification for now, having
it in use would make CI detect errors in the future.

TODO:
- zipfuse should wait until APK is verified.
- boot should abort when verification fails.

Bug: 190343842
Test: MicrodroidHostTestCases
Change-Id: I221be1c7d9a0bfcd312593d3958f950311b67af5
2021-08-10 03:11:35 +09:00