Lines Matching refs:sign
65 parser.add_argument('--sign', metavar='name',
66 help='sign level, default is system_core, other is normal, system_basic')
287 if args.sign:
363 print(f'sign --------------------------------------------')
503 sign_dir = f'{name}.sign'
509 if not self.args.sign or self.args.sign == 'system_core':
512 elif self.args.sign == 'system_basic':
513 bundle_apl = self.args.sign
515 elif self.args.sign == 'normal':
516 bundle_apl = self.args.sign
519 print(f'sign not supported input: {self.args.sign}')
521 # modify sign config
533 # generate cert and sign
534 gen_cert = f'java -jar {sign_tool_dir}/hap-sign-tool.jar sign-profile -keyAlias "openharmony application profile release" -signAlg "SHA256withECDSA" -mode "localSign" -profileCertFile "{sign_tool_dir}/OpenHarmonyProfileRelease.pem" -inFile "{sign_dir}/{sign_config}" -keystoreFile "{sign_tool_dir}/OpenHarmony.p12" -outFile "{sign_dir}/openharmony.p7b" -keyPwd "123456" -keystorePwd "123456"'
535 sign_hap = f'java -jar {sign_tool_dir}/hap-sign-tool.jar sign-app -keyAlias "openharmony application release" -signAlg "SHA256withECDSA" -mode "localSign" -appCertFile "{sign_tool_dir}/OpenHarmonyApplication.pem" -profileFile "{sign_dir}/openharmony.p7b" -inFile "{hap_name}" -keystoreFile "{sign_tool_dir}/OpenHarmony.p12" -outFile "{name}.sign.hap" -keyPwd "123456" -keystorePwd "123456"'
540 print(f'signed of {bundle_apl} for hap: {name}.sign.hap')