From e43a71e70454bf41c9996d7284e53b9fe6342ad1 Mon Sep 17 00:00:00 2001 From: jocover Date: Mon, 24 Jun 2024 16:01:08 +0800 Subject: [PATCH] fix script output filename --- main/cert/gen_attestation_devive_cert.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/cert/gen_attestation_devive_cert.sh b/main/cert/gen_attestation_devive_cert.sh index 31a4c5e..f65f873 100755 --- a/main/cert/gen_attestation_devive_cert.sh +++ b/main/cert/gen_attestation_devive_cert.sh @@ -3,7 +3,7 @@ set -e openssl ecparam -out ec_key.pem -name secp256r1 -genkey -out dev.key openssl req -config ./attestation-device-cert.cnf -new -key dev.key -nodes -out dev.csr openssl x509 -extfile ./attestation-device-cert.cnf -extensions extensions_sec -days 3560 -req -in dev.csr -CA ca.pem -CAserial ca.srl -CAkey ca.key -out dev.pem -openssl x509 -outform der -in dev.pem -out dev.der +openssl x509 -outform der -in dev.pem -out u2f_cert.bin rm dev.csr openssl ec -in dev.key -outform DER -no_public | tail -c +8 | head -c 32 > u2f_cert_key.bin