summaryrefslogtreecommitdiff
path: root/apexer/apexer_test.py
AgeCommit message (Collapse)Author
2020-05-26Update apexer_test the hashtree hash algorithm to sha256Felka Chang
Both apexer and apexer_test apply sha256 to be algorithm of the hashtree. This patch updates the command line 'avbtool' to apply sha256 in apexer_test.py. Fixes: 157447952 Test: atest --host apexer_test Change-Id: I5e4986e0bc54cb87d9ba5cb8fb9b545d09dc1c1d
2020-03-23Also store override_package_name and logging_parent in apex_build_infoNikita Ioffe
This will help signing tools to preserve correct package_name and logging_parent tag of the outer APK container of an APEX Test: apexer_test Bug: 152084536 Change-Id: I7569acf20efe6ff64c3bdc7c43c07a0690c27bee
2020-03-06Test re-packing unsigned images.Dario Freni
Verifies that re-packing an unsigned image generates an equivalent unsigned image. Bug: 150942423 Test: apexer_test Change-Id: I0a0d0f9e2a1a0ce8f1f267feda4d19d2649ad5d7
2020-03-02Add --unsigned_payload_only flag to apexerMohammad Samiul Islam
The flag instructs apexer to output the payload before it is signed by avbtool. The CL also contains new test to ensure that when the unsigned payload is signed by avbtool, it is same as the payload we get when we unzip an apex. Bug: 149993331 Test: atest --host apexer_test Change-Id: I0c0c29ee2fabaa447f5844e71949a00778b1d935
2020-02-27Add --payload_only flag to apexerMohammad Samiul Islam
The flag instructs apexer to output only the payload instead of the complete apex. The payload is signed. The CL also contains new test to ensure the payload only output from apexer is same as what we get when we unzip an apex. Bug: 149993331 Test: atest --host apexer_test Change-Id: I545fcd6e84ea1eb7f55638ca51ff239912758930
2020-02-26Add repacking unit testsDario Freni
This CL adds a unit test that verifies that we can produce an identical APEX using only apex_build_info.pb and the original signing keys. Bug: 147691496 Test: atest --host apexer_test Change-Id: Ib9f78d6f7cece541e8046ed6227e5ab12c2eabe8 Merged-In: Ib9f78d6f7cece541e8046ed6227e5ab12c2eabe8