This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
11
unikernel/duniverse/ocaml-x509/tests/regression/gen_ec.sh
Executable file
11
unikernel/duniverse/ocaml-x509/tests/regression/gen_ec.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
curve="secp521r1"
|
||||
file="p521.pem"
|
||||
|
||||
openssl ecparam -name $curve -genkey -noout -out priv_$file
|
||||
openssl ec -in priv_$file -pubout -out pub_$file
|
||||
|
||||
openssl ec -in priv_$file -no_public -out priv_$file.2
|
||||
openssl pkcs8 -in priv_$file.2 -nocrypt -topk8 -out priv_$file
|
||||
rm priv_$file.2
|
||||
Loading…
Add table
Add a link
Reference in a new issue