1a5e1d18a7
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
|
||
---|---|---|
.. | ||
acp | ||
apicheck | ||
apksigner | ||
atree | ||
droiddoc | ||
fs_config | ||
fs_get_stats | ||
ijar | ||
libhost | ||
makeparallel | ||
releasetools | ||
signapk | ||
signtos | ||
zipalign | ||
ziptime | ||
adbs | ||
Android.mk | ||
brillo-clang-format | ||
buildinfo.sh | ||
check_builds.sh | ||
check_radio_versions.py | ||
compare_fileslist.py | ||
diff_package_overlays.py | ||
dump-package-stats | ||
event_log_tags.py | ||
fileslist.py | ||
filter-product-graph.py | ||
findleaves.py | ||
fixlinebreaks.sh | ||
generate-notice-files.py | ||
java-event-log-tags.py | ||
java-layers.py | ||
merge-event-log-tags.py | ||
mktarball.sh | ||
normalize_path.py | ||
parsedeps.py | ||
post_process_props.py | ||
print_module_licenses.sh | ||
product_debug.py | ||
warn.py |