The Computer Oracle

gen pubkey openssl ed25519

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Magical Minnie Puzzles

--

Chapters
00:00 Gen Pubkey Openssl Ed25519
00:25 Accepted Answer Score 18
00:49 Thank you

--

Full question
https://superuser.com/questions/1319543/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#openssl

#avk47



ACCEPTED ANSWER

Score 18


I'm trying to obtain the public key from my priv key...

Getting the public key from the private key is generally done using pkey, not only for Ed25519:

$ openssl pkey -in ed25519key.pem -pubout

Also, is there a way to specify the length of the key?

There is no variable key length with Ed25519.