mirror of
https://gitee.com/openharmony/update_packaging_tools
synced 2024-11-23 06:40:03 +00:00
add comment for create hash signed data
Signed-off-by: lidanyang <lidanyang12@huawei.com>
This commit is contained in:
parent
0c165e5227
commit
ae566d084c
@ -376,6 +376,8 @@ def create_build_tools_zip():
|
||||
if OPTIONS_MANAGER.register_script_file_obj is not None:
|
||||
zip_file.write(register_script_file_obj.name, REGISTER_SCRIPT_FILE_NAME)
|
||||
files_to_sign += [(register_script_file_obj.name, "build_tools/" + REGISTER_SCRIPT_FILE_NAME)]
|
||||
|
||||
# add hash signed data to build_tools.zip
|
||||
signed_data = generate_signed_data(files_to_sign, sign_func, OPTIONS_MANAGER.private_key)
|
||||
zip_file.writestr("hash_signed_data", signed_data)
|
||||
zip_file.close()
|
||||
|
Loading…
Reference in New Issue
Block a user