Complete project pivot (#55)

Complete project pivot
This commit is contained in:
2022-01-12 08:57:21 +01:00
committed by GitHub
parent 70aa5332a9
commit bd581db472
46 changed files with 2638 additions and 1396 deletions

23
scripts/generate_fake_ca.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
set -e
openssl ecparam -name secp384r1 -genkey -noout -out ca.key
openssl req -new -x509 -key ca.key -out ca.crt -days 365 -config <(
cat <<-EOF
[req]
distinguished_name = req_distinguished_name
default_md = sha512
req_extensions = v3_req
prompt = no
[req_distinguished_name]
C = SE
O = Speedrun
CN = Fake CA
[v3_req]
subjectKeyIdentifier=hash
basicConstraints=critical,CA:TRUE
keyUsage=critical,keyCertSign,cRLSign
EOF
) -extensions v3_req