b00b4571创建于 2024年3月27日历史提交
文件最后提交记录最后更新时间
update autosign script Signed-off-by: zhanzeyi <zhanzeyi@huawei.com> 4 年前
update autosign/README.md. Signed-off-by: wangzeyu <wangzeyu38@huawei.com>2 年前
update UnsgnedReleasedProfileTemplate file Signed-off-by: chenqun1 <chenqun27@huawei.com> 4 年前
rename package name, update mvn url Signed-off-by: zhanzeyi <zhanzeyi@huawei.com> 4 年前
repair codecheck warning Signed-off-by: wangzeyu <wangzeyu38@huawei.com> 2 年前
update autosign script Signed-off-by: zhanzeyi <zhanzeyi@huawei.com> 4 年前
update autosign script Signed-off-by: zhanzeyi <zhanzeyi@huawei.com> 4 年前
修复bat文件和py文件告警 Signed-off-by: chenqun1 <chenqun27@huawei.com> 4 年前
update autosign script Signed-off-by: zhanzeyi <zhanzeyi@huawei.com> 4 年前
修复bat文件和py文件告警 Signed-off-by: chenqun1 <chenqun27@huawei.com> 4 年前
update autosign script Signed-off-by: zhanzeyi <zhanzeyi@huawei.com> 4 年前
增加elf自动签名脚本 Signed-off-by: zfeixiang <zhangfeixiang9@huawei.com> 2 年前
update autosign script Signed-off-by: zhanzeyi <zhanzeyi@huawei.com> 4 年前
修改 readme 文档 Signed-off-by: zfeixiang <zhangfeixiang9@huawei.com> 2 年前
修改 readme 文档 Signed-off-by: zfeixiang <zhangfeixiang9@huawei.com> 2 年前
修复bat文件和py文件告警 Signed-off-by: chenqun1 <chenqun27@huawei.com> 4 年前
update autosign script Signed-off-by: zhanzeyi <zhanzeyi@huawei.com> 4 年前
README.md

Instructions

Autosign help you to sign app more efficiently

Dependency

This signature script depends on Python 3.x.

Configuration

Use your favorite text editor to open autosign.config to configure everything. Below config must be replaced:

  • config.signtool
  • All password

1. For Windows

  1. Run the create_root.bat file in the terminal to generate root certs.
  2. Prepare your unsigned app and provision profile. Make sure correct config file location.
  3. Run the create_appcert_sign_profile.bat file in the terminal to generate app certs.
  4. Run the sign_hap.bat file in the terminal to start signing.
  5. The generated artifacts will be saved in the folder you set in config.targetDir as default.

2. For Linux or MacOS

  1. Add executable permission into create_root.sh, create_appcert_sign_profile.sh and sign_hap.sh.

    chmod a+x create_root.sh
    
    chmod a+x create_appcert_sign_profile.sh
    
    chmod a+x sign_hap.sh
    
    
  2. Run the create_root.sh file in the terminal to generate root certs.

    ./create_root.sh
    
  3. Prepare your unsigned app and provision profile. Make sure correct config file location.

  4. Run the create_appcert_sign_profile.sh file in the terminal to generate app certs.

    ./create_appcert_sign_profile.sh
    
  5. Run the sign_hap.sh file in the terminal to start signing.

    ./sign_hap.sh
    
  6. The generated artifacts will be saved in the folder you set in config.targetDir as default.