mirror of
https://github.com/TECHNOFAB11/jwt-authorizer.git
synced 2025-12-11 23:50:07 +01:00
test: add EC384 test keys and tokens
This commit is contained in:
parent
14f4a6dcc3
commit
1f9569d7d9
8 changed files with 50 additions and 7 deletions
|
|
@ -9,9 +9,11 @@
|
|||
|
||||
curve name: prime256v1 (secp256r1, secp384r1)
|
||||
|
||||
> openssl ecparam -genkey -noout -name prime256v1 | openssl pkcs8 -topk8 -nocrypt -out ec-private.pem
|
||||
> openssl ecparam -genkey -noout -name prime256v1 | openssl pkcs8 -topk8 -nocrypt -out ec-private1.pem
|
||||
> openssl ecparam -genkey -noout -name secp384r1 | openssl pkcs8 -topk8 -nocrypt -out ec384-private1.pem
|
||||
|
||||
> openssl ec -in ec-private.pem -pubout -out ec-public-key.pem
|
||||
> openssl ec -in ec-private1.pem -pubout -out ec-public1.pem
|
||||
> openssl ec -in ec384-private1.pem -pubout -out ec384-public1.pem
|
||||
|
||||
## EdDSA - Edwards-curve Digital Signature Algorithm
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue