From 0c76311eb6c1a6d73b12ea892a237a0ca4de0152 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 15 Mar 2020 00:08:30 -0400 Subject: [PATCH] generate encrypted AVB key in the example --- static/build.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ../..