• Home
Name Date Size #Lines LOC

..--

result/07-Sep-2024-7574

README.mdD07-Sep-20241.5 KiB5436

UnsgnedReleasedProfileTemplate.jsonD07-Sep-20241.5 KiB2727

autosign.configD07-Sep-20242.7 KiB9372

autosign.pyD07-Sep-202410 KiB320248

createAppCertAndProfile.configD07-Sep-20241.6 KiB6046

createRootAndSubCert.configD07-Sep-20241.8 KiB5745

create_appcert_sign_profile.batD07-Sep-2024698 1716

create_appcert_sign_profile.shD07-Sep-2024650 151

create_root.batD07-Sep-2024695 1716

create_root.shD07-Sep-2024647 151

signElf.configD07-Sep-2024913 4029

signHap.configD07-Sep-2024903 3928

sign_elf.batD07-Sep-2024682 1716

sign_elf.shD07-Sep-2024634 151

sign_hap.batD07-Sep-2024682 1716

sign_hap.shD07-Sep-2024634 151

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