summaryrefslogtreecommitdiff
path: root/static/build.html
diff options
context:
space:
mode:
authorr3g_5z <june@girlboss.ceo>2022-12-19 18:18:59 -0500
committerDaniel Micay <danielmicay@gmail.com>2022-12-20 04:25:53 -0500
commit782c99acddaf599085a6766e4fd60d8a16e9ad5a (patch)
tree20b4f42fc2b180f8d590f15330a2be33de27ea68 /static/build.html
parent555de7be5248a71ae5ac7c622cd89335095972b4 (diff)
Use a variable for the certificate Common Name instead
Signed-off-by: r3g_5z <june@girlboss.ceo>
Diffstat (limited to 'static/build.html')
-rw-r--r--static/build.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/static/build.html b/static/build.html
index 7a6a436e..54b2be2a 100644
--- a/static/build.html
+++ b/static/build.html
@@ -654,13 +654,14 @@ vendor/adevtool/bin/run ota-firmware vendor/adevtool/config/<var>DEVICE</var>.ym
<pre>mkdir -p keys/raven
cd keys/raven
-../../development/tools/make_key releasekey '/CN=GrapheneOS/'
-../../development/tools/make_key platform '/CN=GrapheneOS/'
-../../development/tools/make_key shared '/CN=GrapheneOS/'
-../../development/tools/make_key media '/CN=GrapheneOS/'
-../../development/tools/make_key networkstack '/CN=GrapheneOS/'
-../../development/tools/make_key sdk_sandbox '/CN=GrapheneOS/'
-../../development/tools/make_key bluetooth '/CN=GrapheneOS/'
+CN=GrapheneOS
+../../development/tools/make_key releasekey "/CN=$CN/"
+../../development/tools/make_key platform "/CN=$CN/"
+../../development/tools/make_key shared "/CN=$CN/"
+../../development/tools/make_key media "/CN=$CN/"
+../../development/tools/make_key networkstack "/CN=$CN/"
+../../development/tools/make_key sdk_sandbox "/CN=$CN/"
+../../development/tools/make_key bluetooth "/CN=$CN/"
openssl genrsa 4096 | openssl pkcs8 -topk8 -scrypt -out avb.pem
../../external/avb/avbtool extract_public_key --key avb.pem --output avb_pkmd.bin
cd ../..</pre>