Support container password for apex signing

Some partners need the ability to sign apexes with passwords enabled.

Test: th
Bug: 206007131
Change-Id: I6abb0775031a4c6bf8aaae679f5c7ad8f4cffe46
This commit is contained in:
Kelvin Zhang
2022-09-14 15:02:46 -07:00
parent 9d06081f67
commit 137807d69d
2 changed files with 21 additions and 5 deletions

View File

@@ -540,7 +540,7 @@ def SignApex(avbtool, apex_data, payload_key, container_key, container_pw,
apex_file,
payload_key=payload_key,
container_key=container_key,
container_pw=None,
container_pw=container_pw,
codename_to_api_level_map=codename_to_api_level_map,
no_hashtree=no_hashtree,
apk_keys=apk_keys,
@@ -553,7 +553,7 @@ def SignApex(avbtool, apex_data, payload_key, container_key, container_pw,
apex_file,
payload_key=payload_key,
container_key=container_key,
container_pw=None,
container_pw=container_pw,
codename_to_api_level_map=codename_to_api_level_map,
no_hashtree=no_hashtree,
apk_keys=apk_keys,