Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 284 Bytes

File metadata and controls

16 lines (16 loc) · 284 Bytes

generate private key

$ openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 > private_key.pem
$ pnpx eckles private_key.pem > private_key.jwk

add kid

{
  "kty": "EC",
  "crv": "P-256",
  "d": "...",
  "x": "...",
  "y": "...",
  "kid":"oauth-key1"
}