platform_build/tools/releasetools/testdata
Tao Bao 02a0859b3c releasetools: Support verifying AVB signed images with chained partitions.
For example, verify a target_files.zip that has system AVB-signed as a
chained partition.

  $ build/make/tools/releasetools/validate_target_files.py \
      signed-target_files-4904652.zip \
      --verity_key verifiedboot_pub.pem \
      --avb_system_key_path system_pub.pem

Note that verifiedboot_pub.pem should be the key (either public or
private) to verify vbmeta.img, and 'system_pub.pem' should be the key
(either public or private) for the chained partition of system.

testdata/testkey.key is the private key converted from
testdata/testkey.pk8 for testing purpose (`openssl pkcs8 -in
testdata/testkey.pk8 -inform DER -out testdata/testkey.key -nocrypt`).

Bug: 63706333
Test: python -m unittest test_common
Test: python -m unittest test_add_img_to_target_files
Test: `m dist` on aosp_walleye-userdebug; Run validate_target_files.py
      on the generated target_files.zip.
Test: Set up walleye with chained system partition; `m dist`; Run
      validate_target_files.py on the generated target_files.zip.
Change-Id: I38517ab39baf8a5bc1a6062fab2fe229b68e897d
2018-07-23 15:20:14 -07:00
..
media.x509.pem releasetools: Check for duplicate entries in ReplaceCerts(). 2018-02-20 10:22:30 -08:00
payload_signer.sh releasetools: Add PayloadSigner class. 2018-01-19 13:25:04 -08:00
platform.x509.pem releasetools: Check for duplicate entries in ReplaceCerts(). 2018-02-20 10:22:30 -08:00
sigfile.bin releasetools: Add PayloadSigner class. 2018-01-19 13:25:04 -08:00
signed-sigfile.bin releasetools: Add PayloadSigner class. 2018-01-19 13:25:04 -08:00
TestApp.apk releasetools: Fix an issue in GetMinSdkVersion. 2018-03-22 10:27:04 -07:00
testkey.key releasetools: Support verifying AVB signed images with chained partitions. 2018-07-23 15:20:14 -07:00
testkey.pk8 releasetools: Add PayloadSigner class. 2018-01-19 13:25:04 -08:00
testkey.pubkey.pem releasetools: Fix an issue with pubkey extraction. 2018-02-04 13:59:52 -08:00
testkey.x509.pem releasetools: Add PayloadSigner class. 2018-01-19 13:25:04 -08:00
testkey_mincrypt releasetools: Support validating Verified Boot images. 2018-03-12 00:17:09 -07:00
testkey_with_passwd.pk8 releasetools: Add PayloadSigner class. 2018-01-19 13:25:04 -08:00
testkey_with_passwd.x509.pem releasetools: Add PayloadSigner class. 2018-01-19 13:25:04 -08:00
verity.x509.pem releasetools: Clean up test_sign_target_files_apks.py. 2018-02-20 10:12:15 -08:00