We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1be5c81 commit c0cd90eCopy full SHA for c0cd90e
generate-keys
@@ -0,0 +1,19 @@
1
+#!/bin/bash
2
+
3
+devices=()
4
5
+for device in ${devices[@]}; do
6
+ mkdir -p keys/$device
7
+ cd keys/$device
8
+ CN=GrapheneOS
9
+ ../../development/tools/make_key releasekey "/CN=$CN/"
10
+ ../../development/tools/make_key platform "/CN=$CN/"
11
+ ../../development/tools/make_key shared "/CN=$CN/"
12
+ ../../development/tools/make_key media "/CN=$CN/"
13
+ ../../development/tools/make_key networkstack "/CN=$CN/"
14
+ ../../development/tools/make_key sdk_sandbox "/CN=$CN/"
15
+ ../../development/tools/make_key bluetooth "/CN=$CN/"
16
+ openssl genrsa 4096 | openssl pkcs8 -topk8 -scrypt -out avb.pem
17
+ ../../external/avb/avbtool.py extract_public_key --key avb.pem --output avb_pkmd.bin
18
+ cd ../..
19
+done
0 commit comments