Add some notes on signing configuration while building Servo on OpenHarmony platform#217
Add some notes on signing configuration while building Servo on OpenHarmony platform#217RichardTjokroutomo wants to merge 2 commits intoservo:mainfrom
Conversation
|
cc @jschwe |
4bc61ac to
8eec788
Compare
src/building/openharmony.md
Outdated
| The key and salt used to encrypt the passwords are generated by DevEco Studio IDE and are stored on-disk alongside the certificate files and keystore, usually under `<USER HOME>/.ohos/config/openharmony`. | ||
|
|
||
| You can use the IDE to generate the information needed for password encryption, the required application and profile certificate files, and the keystore itself. | ||
| To generate the information needed for password encryption, the required application and profile certificate files, and the keystore itself, you can clone a [sample ArkTS app](https://github.com/jschwe/ServoDemo) and open it on DevEco Studio IDE. |
There was a problem hiding this comment.
Perhaps add a disclaimer here that the signing information is tied to the bundlename, so you can't just copy it from any other test app you might have, the bundlename needs to match (which it does for the linked ServoDemo).
So for OpenHarmony For HarmonyOS DevEco is the easiest way. I've seen that there is now documentation how to generate signing configs via commandline and a website for HarmonyOS, but I haven't tried it out. I'd probably |
…platform Signed-off-by: Richard Tjokroutomo <richard.tjokro2@gmail.com>
8eec788 to
e5a102e
Compare
I see. My bad... |
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>
|
|
||
| **NOTE: The signature autogenerated above is intended only for development and testing. For production builds and distribution via an App Store, the relevant configuration needs to be obtained from the App Store provider.** | ||
|
|
||
| >For Linux users, DevEco Studio is only available on Windows and MacOS. To proceed, **you will need another Windows / MacOS machine with DevEco Studio IDE installed** to create the signing keys. If you're developing for OpenHarmony boards (such as HopeRun development board), then you can name the `SigningConfigs` `default`. Otherwise, set it to `hos` if you're developing Servo for HarmonyOS devices (such as Huawei Mate series phones). |
There was a problem hiding this comment.
| >For Linux users, DevEco Studio is only available on Windows and MacOS. To proceed, **you will need another Windows / MacOS machine with DevEco Studio IDE installed** to create the signing keys. If you're developing for OpenHarmony boards (such as HopeRun development board), then you can name the `SigningConfigs` `default`. Otherwise, set it to `hos` if you're developing Servo for HarmonyOS devices (such as Huawei Mate series phones). | |
| >For Linux users, DevEco Studio is only available on Windows and MacOS. To proceed, **you will need another Windows / MacOS machine with DevEco Studio IDE installed** to create the signing keys. | |
| If you're developing for OpenHarmony boards (such as HopeRun development board), then you can name the `SigningConfigs` `default`. | |
| Otherwise, set it to `hos` if you're developing Servo for HarmonyOS devices. |
| The key and salt used to encrypt the passwords are generated by DevEco Studio IDE and are stored on-disk alongside the certificate files and keystore, usually under `<USER HOME>/.ohos`. | ||
|
|
||
| You can use the IDE to generate the information needed for password encryption, the required application and profile certificate files, and the keystore itself. | ||
| To generate the information needed for password encryption, the required application and profile certificate files, and the keystore itself, you can clone a [sample ArkTS app](https://github.com/jschwe/ServoDemo) and open it on DevEco Studio IDE. Note that since signing information is tied to the bundle name, not all ArkTS app will work, and therefore it is **highly** recommended to use the sample ArkTS app mentioned above. |
There was a problem hiding this comment.
| To generate the information needed for password encryption, the required application and profile certificate files, and the keystore itself, you can clone a [sample ArkTS app](https://github.com/jschwe/ServoDemo) and open it on DevEco Studio IDE. Note that since signing information is tied to the bundle name, not all ArkTS app will work, and therefore it is **highly** recommended to use the sample ArkTS app mentioned above. | |
| To generate the information needed for password encryption, the required application and profile certificate files, and the keystore itself, you can clone a [sample ArkTS app](https://github.com/jschwe/ServoDemo) and open it on DevEco Studio IDE. | |
| Note that since signing information is tied to the bundle name, not all ArkTS app will work, and therefore it is **highly** recommended to use the sample ArkTS app mentioned above. |
Added some additional notes on signing configuration step for those who intend to use Linux to develop Servo for OpenHarmony platform.
This will be helpful since the signing configuration step needs
DevEco Studioto complete (at least if you're developing Servo for HarmonyOS devices), meanwhileDevEco Studiois presently only available onWindows&MacOS.