Re: JSON Web Key (JWK) for public key requires x and y coordinates.

2019-12-22 Thread Nicola Tuveri
Hi Douglas, I don't think OpenSSL supports the encoding of keys specified in RFC7518: you are right in believing that the x and y values can be retrieved from the 'pub:' field of the `-text` output for the key, but that field conforms to Sec 2.3.4 of the SEC1 standard (which is referenced also by

JSON Web Key (JWK) for public key requires x and y coordinates.

2019-12-22 Thread Douglas Morris via openssl-users
Hello, Not a genius with openssl or encryption at all. Thanks for reading. Background: * Generate a private key (really key set) with named curve:openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:prime256v1 -pkeyopt ec_param_enc:named_curve -outform PEM -out