diff --git a/certs/generate_certs.sh b/certs/generate_certs.sh index e80fafd..5793ac9 100755 --- a/certs/generate_certs.sh +++ b/certs/generate_certs.sh @@ -23,6 +23,10 @@ openssl asn1parse -in inter.cert -out inter.cert.der openssl asn1parse -in inter.key -out inter.key.der cat inter.cert.der inter.key.der > inter.der +# Generate the responder SubjectPublicKeyInfo +openssl x509 -inform DER -in ca.cert.der -pubkey -noout -out ca.pub +openssl asn1parse -in ca.pub -out ca.pub.der + # Generate Leaf CSRs openssl req -nodes -newkey ec:param.pem \ -keyout end_requester.key -out end_requester.req -sha384 -batch \ diff --git a/certs/slot0/ca.der b/certs/slot0/ca.der new file mode 100644 index 0000000..b890e46 Binary files /dev/null and b/certs/slot0/ca.der differ diff --git a/certs/slot0/ca.pub b/certs/slot0/ca.pub new file mode 100644 index 0000000..eb56c05 --- /dev/null +++ b/certs/slot0/ca.pub @@ -0,0 +1,5 @@ +-----BEGIN PUBLIC KEY----- +MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEblIXPCYTxE7ZH8vTYINO5JO5+8vPTHZF +098QaMaf/8Vahikbod4mC9e9pqlDR9a5Ylc9xVb02QfXQuMWJix4L8hckVsbw+dN +R9wd07kaeQXruZAVs7c+zyMXeroWcMNN +-----END PUBLIC KEY----- diff --git a/manifest/manifest.in.cbor b/manifest/manifest.in.cbor index 668e15c..da2d0a4 100644 --- a/manifest/manifest.in.cbor +++ b/manifest/manifest.in.cbor @@ -20,7 +20,7 @@ } }, / authorised-by / 2: [ - / tagged-pkix-base64-key-type / 554("base64_key_X") + / tagged-pkix-base64-key-type / 554("3076301006072a8648ce3d020106052b81040022036200046e52173c2613c44ed91fcbd360834ee493b9fbcbcf4c7645d3df1068c69fffc55a86291ba1de260bd7bda6a94347d6b962573dc556f4d907d742e316262c782fc85c915b1bc3e74d47dc1dd3b91a7905ebb99015b3b73ecf23177aba1670c34d") ] }, / measurement-map / { @@ -31,7 +31,7 @@ } }, / authorised-by / 2: [ - / tagged-pkix-base64-key-type / 554("base64_key_X") + / tagged-pkix-base64-key-type / 554("3076301006072a8648ce3d020106052b81040022036200046e52173c2613c44ed91fcbd360834ee493b9fbcbcf4c7645d3df1068c69fffc55a86291ba1de260bd7bda6a94347d6b962573dc556f4d907d742e316262c782fc85c915b1bc3e74d47dc1dd3b91a7905ebb99015b3b73ecf23177aba1670c34d") ] }, / measurement-map / { @@ -42,7 +42,7 @@ } }, / authorised-by / 2: [ - / tagged-pkix-base64-key-type / 554("base64_key_X") + / tagged-pkix-base64-key-type / 554("3076301006072a8648ce3d020106052b81040022036200046e52173c2613c44ed91fcbd360834ee493b9fbcbcf4c7645d3df1068c69fffc55a86291ba1de260bd7bda6a94347d6b962573dc556f4d907d742e316262c782fc85c915b1bc3e74d47dc1dd3b91a7905ebb99015b3b73ecf23177aba1670c34d") ] } ]