move Vanadium key generation
This commit is contained in:
parent
2b9e6ab4c6
commit
2350d71563
@ -754,14 +754,6 @@ git checkout $CORRECT_BRANCH_OR_TAG</pre>
|
|||||||
<pre>cd src
|
<pre>cd src
|
||||||
git am --whitespace=nowarn ../patches/*.patch</pre>
|
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>
|
<p>Then, configure the build in the <code>src</code> directory:</p>
|
||||||
|
|
||||||
<pre>gn args out/Default</pre>
|
<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>
|
<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>
|
<p>Generate TrichromeChrome.apk from the bundle and sign the apks:</p>
|
||||||
|
|
||||||
<pre>../generate_release.sh</pre>
|
<pre>../generate_release.sh</pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user