Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
result/ | 07-Sep-2024 | - | 75 | 74 | ||
README.md | D | 07-Sep-2024 | 1.5 KiB | 54 | 36 | |
UnsgnedReleasedProfileTemplate.json | D | 07-Sep-2024 | 1.5 KiB | 27 | 27 | |
autosign.config | D | 07-Sep-2024 | 2.7 KiB | 93 | 72 | |
autosign.py | D | 07-Sep-2024 | 10 KiB | 320 | 248 | |
createAppCertAndProfile.config | D | 07-Sep-2024 | 1.6 KiB | 60 | 46 | |
createRootAndSubCert.config | D | 07-Sep-2024 | 1.8 KiB | 57 | 45 | |
create_appcert_sign_profile.bat | D | 07-Sep-2024 | 698 | 17 | 16 | |
create_appcert_sign_profile.sh | D | 07-Sep-2024 | 650 | 15 | 1 | |
create_root.bat | D | 07-Sep-2024 | 695 | 17 | 16 | |
create_root.sh | D | 07-Sep-2024 | 647 | 15 | 1 | |
signElf.config | D | 07-Sep-2024 | 913 | 40 | 29 | |
signHap.config | D | 07-Sep-2024 | 903 | 39 | 28 | |
sign_elf.bat | D | 07-Sep-2024 | 682 | 17 | 16 | |
sign_elf.sh | D | 07-Sep-2024 | 634 | 15 | 1 | |
sign_hap.bat | D | 07-Sep-2024 | 682 | 17 | 16 | |
sign_hap.sh | D | 07-Sep-2024 | 634 | 15 | 1 |
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