diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-07-01 11:06:27 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-07-01 11:06:27 -0400 |
| commit | 2350d71563c404fc4650e0bac21e4df9718fac23 (patch) | |
| tree | 8eb3034cfd9b6298c1f0f995d4fb6716e497ee18 /static | |
| parent | 2b9e6ab4c618930c8a95715b12401b56bad6658b (diff) | |
move Vanadium key generation
Diffstat (limited to 'static')
| -rw-r--r-- | static/build.html | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/static/build.html b/static/build.html index 6bada980..4274803e 100644 --- a/static/build.html +++ b/static/build.html @@ -754,14 +754,6 @@ git checkout $CORRECT_BRANCH_OR_TAG</pre> <pre>cd src git am --whitespace=nowarn ../patches/*.patch</pre> - <p>Generate a signing key for Vanadium if this is the initial build:</p> - - <pre>keytool -genkey -v -keystore vanadium.keystore -storetype pkcs12 -alias vanadium -keyalg RSA -keysize 4096 -sigalg SHA512withRSA -validity 10000 -dname "cn=GrapheneOS"</pre> - - <p>You will be prompted to enter a password which will be requested by the script for - signing releases. You should back this up the generated keystore with your other - keys.</p> - <p>Then, configure the build in the <code>src</code> directory:</p> <pre>gn args out/Default</pre> @@ -780,6 +772,16 @@ git am --whitespace=nowarn ../patches/*.patch</pre> <pre>ninja -C out/Default/ trichrome_webview_64_32_apk trichrome_chrome_64_32_bundle trichrome_library_64_32_apk</pre> + <p>Generate a signing key for Vanadium if this is the initial build:</p> + + <pre>cd .. +keytool -genkey -v -keystore vanadium.keystore -storetype pkcs12 -alias vanadium -keyalg RSA -keysize 4096 -sigalg SHA512withRSA -validity 10000 -dname "cn=GrapheneOS" +cd src</pre> + + <p>You will be prompted to enter a password which will be requested by the script for + signing releases. You should back this up the generated keystore with your other + keys.</p> + <p>Generate TrichromeChrome.apk from the bundle and sign the apks:</p> <pre>../generate_release.sh</pre> |
