jsonwebtoken icon indicating copy to clipboard operation
jsonwebtoken copied to clipboard

Is there a way to derive the public key from the private key for ECDSA keys?

Open p-only-if-q opened this issue 1 year ago • 1 comments

The jwt_simple crate allows you to do something like:

let key_pair = ES256KeyPair::from_bytes(some_bytes); let public_key = key_pair.public_key();

Is there a way to grab the public key using this library?

p-only-if-q avatar Jun 24 '24 00:06 p-only-if-q

No

Keats avatar Jun 24 '24 07:06 Keats