I'm trying to obtain the public key from my priv key generated via this command:
openssl genpkey -algorithm Ed25519 -out ed25519key.pem
Following this docs: https://github.com/openssl/openssl/blob/master/doc/man1/genpkey.pod
But I'm lost trying to figure out how to generate the public key from the priv key. Also, is there a way to specify the length of the key?