• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Base configuration
2//
3// Location of signtool.jar
4
5config.signtool=../hapsigntool/hap_sign_tool/build/libs/hap-sign-tool.jar
6
7// All products would be put into folder
8config.targetDir=result
9
10// Common configuration, will be overwrite by detail config
11common.keystoreFile=OpenHarmony.p12
12common.keystorePwd=123456
13common.signAlg=SHA256withECDSA
14common.mode=localSign
15
16// You must change this instead of using default
17common.keyPwd=123456
18common.issuerKeyPwd=123456
19
20// keypair of app signature
21app.keypair.keyAlias=oh-app1-key-v1
22app.keypair.keyPwd=123456
23
24// App signature cert
25cert.app.outFile=app1.pem
26
27// Sign profile
28sign.profile.outFile=app1-profile.p7b
29
30// Sign app
31sign.app.inFile=app1-unsigned.hap
32sign.app.outFile=app1-signed.hap
33
34
35// Default config. Do not change it
36sign.app.keyAlias=$app.keypair.keyAlias
37sign.app.appCertFile=$cert.app.outFile
38sign.app.profileFile=$sign.profile.outFile
39