platform_build/tools/releasetools
Tao Bao 1a5e1d18a7 releasetools: Support using payload_signer.
For A/B OTAs, by default it calls 'openssl pkeyutl' to sign the payload
and metadata with the package private key. If the private key cannot be
accessed directly, a payload signer that knows how to do that should be
supplied via "--payload_signer <signer>".

The signer will be called with "-inkey <path_to_private_key>",
"-in <input_file>" and "-out <output_file>" parameters.

Test: Use a dummy signer, call 'ota_from_target_files.py --payload_signer <signer> <target_files.zip> <ota.zip>' and verify the signatures in the generated package.
Bug: 28701652
Change-Id: I26cfdd3fdba6fc90799221741b75426988e46fd3
(cherry picked from commit dea0f8bfed)
2016-06-23 22:15:30 -07:00
..
add_img_to_target_files store images in target-files 2014-07-31 11:06:30 -07:00
add_img_to_target_files.py Remove obsolete MTD support from the releasetools scripts. 2016-06-16 20:48:47 -07:00
blockimgdiff.py releasetools: Only verify the blocks to be touched. 2016-04-13 17:00:34 -07:00
build_image.py Remove obsolete MTD support from the releasetools scripts. 2016-06-16 20:48:47 -07:00
check_target_files_signatures Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
check_target_files_signatures.py Fix the broken signing script 2015-06-03 17:36:12 -07:00
common.py Remove obsolete MTD support from the releasetools scripts. 2016-06-16 20:48:47 -07:00
edify_generator.py Remove obsolete MTD support from the releasetools scripts. 2016-06-16 20:48:47 -07:00
img_from_target_files Allow to build the update.zip for emulator build. 2014-06-04 17:04:14 +00:00
img_from_target_files.py Honor TARGET_NO_RECOVERY flag. 2015-10-27 20:00:10 -07:00
make_recovery_patch Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
make_recovery_patch.py Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py releasetools: Support using payload_signer. 2016-06-23 22:15:30 -07:00
pylintrc Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
rangelib.py Monotonic flag sets incorrectly in rangelib 2016-04-13 12:36:14 -07:00
sign_target_files_apks Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
sign_target_files_apks.py releasetools: replace verity keyid 2016-06-23 22:13:12 -07:00
sparse_img.py Fix metadata location when file system doesn't span the partition 2016-02-10 09:37:59 -08:00
target_files_diff.py target_files_diff: Fix the issue with file type change. 2016-04-25 11:29:48 -07:00
test_common.py Fix the permission setting in common.ZipWriteStr() 2015-05-20 13:29:03 -07:00
test_rangelib.py Monotonic flag sets incorrectly in rangelib 2016-04-13 12:36:14 -07:00