commit be599129baafc4e86576fc56ae5f977816e3124a
parent 4081780bf6d1a3898864d45516b786739f0a1c7e
Author: Daniel Barlow <dan@telent.net>
Date: Fri, 27 Feb 2026 17:20:36 +0000
makefile target for privkey.bin
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -24,6 +24,9 @@ privkey.pem:
pubkey.bin: privkey.pem
openssl pkey -in $< -pubout -text_pub | awk '/^ / {print}' | xxd -r -p > $@
+privkey.bin: privkey.pem
+ openssl pkey -in privkey.pem -text | awk '/^priv:/,/^pub:/ {print}' | awk '/^ / {print}' | xxd -r -p > privkey.bin
+
# these keys are used during wifi provisioning so we can authenticate
# the peer
keys/client.key keys/client.pub: