Name Date Size

..25-Oct-20244 KiB

autosign.configH A D25-Oct-20242.7 KiB

autosign.pyH A D25-Oct-202410 KiB

create_appcert_sign_profile.batH A D25-Oct-2024698

create_appcert_sign_profile.shH A D25-Oct-2024650

create_root.batH A D25-Oct-2024695

create_root.shH A D25-Oct-2024647

createAppCertAndProfile.configH A D25-Oct-20241.6 KiB

createRootAndSubCert.configH A D25-Oct-20241.8 KiB

README.mdH A D25-Oct-20241.5 KiB

result/H25-Oct-20244 KiB

sign_elf.batH A D25-Oct-2024682

sign_elf.shH A D25-Oct-2024634

sign_hap.batH A D25-Oct-2024682

sign_hap.shH A D25-Oct-2024634

signElf.configH A D25-Oct-2024913

signHap.configH A D25-Oct-2024903

UnsgnedReleasedProfileTemplate.jsonH A D25-Oct-20241.5 KiB

README.md

1# Instructions
2Autosign help you to sign app more efficiently
3
4
5## Dependency
6This signature script depends on Python 3.x.
7
8
9
10## Configuration
11
12Use your favorite text editor to open `autosign.config` to configure everything.
13Below config must be replaced:
14* config.signtool
15* All password
16
17### 1. For Windows
18
191. Run the `create_root.bat` file in the terminal to generate root certs.
202. Prepare your unsigned app and provision profile. Make sure correct config file location.
213. Run the `create_appcert_sign_profile.bat` file in the terminal to generate app certs.
224. Run the `sign_hap.bat` file in the terminal to start signing.
235. The generated artifacts will be saved in the folder you set in `config.targetDir` as default.
24
25### 2. For Linux or MacOS
26
27
281. Add executable permission into `create_root.sh`, `create_appcert_sign_profile.sh` and `sign_hap.sh`.
29
30   ```bash
31   chmod a+x create_root.sh
32   
33   chmod a+x create_appcert_sign_profile.sh
34
35   chmod a+x sign_hap.sh
36
37   ```
38
392. Run the `create_root.sh` file in the terminal to generate root certs.
40
41   ```bash
42   ./create_root.sh
43   ```
443. Prepare your unsigned app and provision profile. Make sure correct config file location.
454. Run the `create_appcert_sign_profile.sh` file in the terminal to generate app certs.
46    ```bash
47    ./create_appcert_sign_profile.sh
48    ```
495. Run the `sign_hap.sh` file in the terminal to start signing.
50   ```bash
51   ./sign_hap.sh
52   ```
536. The generated artifacts will be saved in the folder you set in `config.targetDir` as default.
54