summaryrefslogtreecommitdiff
path: root/static/build.html
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2020-03-15 00:08:30 -0400
committerDaniel Micay <danielmicay@gmail.com>2020-03-15 00:08:30 -0400
commit0c76311eb6c1a6d73b12ea892a237a0ca4de0152 (patch)
treea0b14351529ad465b306b4eea6046006f89c0fa7 /static/build.html
parent56582135f13fd26394d390d0ffe1385d1915080d (diff)
generate encrypted AVB key in the example
Diffstat (limited to 'static/build.html')
-rw-r--r--static/build.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/build.html b/static/build.html
index c54d2aa0..0be5077d 100644
--- a/static/build.html
+++ b/static/build.html
@@ -441,7 +441,7 @@ cd keys/crosshatch
../../development/tools/make_key shared '/CN=GrapheneOS/'
../../development/tools/make_key media '/CN=GrapheneOS/'
../../development/tools/make_key networkstack '/CN=GrapheneOS/'
-openssl genrsa -out avb.pem 2048
+openssl genrsa 2048 | openssl pkcs8 -topk8 -scrypt -out avb.pem
../../external/avb/avbtool extract_public_key --key avb.pem --output avb_pkmd.bin
cd ../..</pre>