This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View 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