summaryrefslogtreecommitdiff
path: root/static/build.html
diff options
context:
space:
mode:
authorinthewaves <inthewaves@pm.me>2020-10-06 16:18:10 -0700
committerDaniel Micay <danielmicay@gmail.com>2020-10-06 21:13:01 -0400
commitd540be251ed96b5bacc25d3ff909ddec959c2bb4 (patch)
tree134e99c5dcf02a52e914014d58347a36c283c92b /static/build.html
parentfa5276d158f8e2808fbc67d9054ffd4dfa0b6035 (diff)
move Vanadium key generation to before cert digest step
Diffstat (limited to 'static/build.html')
-rw-r--r--static/build.html17
1 files changed, 8 insertions, 9 deletions
diff --git a/static/build.html b/static/build.html
index 996d9590..f915f45e 100644
--- a/static/build.html
+++ b/static/build.html
@@ -759,6 +759,14 @@ git checkout $CORRECT_BRANCH_OR_TAG</pre>
value):</p>
<pre>gclient sync -D --with_branch_heads -r $VERSION --jobs 32</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
+ <code>generate_release.sh</code> script for signing releases. You should back up
+ the generated keystore with your other keys.</p>
<p>Apply the GrapheneOS patches on top of the tagged release:</p>
@@ -783,15 +791,6 @@ 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 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>