How can i generate ec curve25519 keys using openSSL? When I run
openssl ecparam -name curve25519 -genkey -noout -out private.ec.key
I have this message
unknown curve name (curve25519)
Use the genpkey
command:
openssl genpkey -algorithm x25519
or, for edwards25519:
openssl genpkey -algorithm ed25519
This requires a recent OpenSSL version.
Algorithm x25519 not found
$\endgroup$
Commented
Jun 25, 2019 at 9:20
openssl version
it answer with LibreSSL 2.6.5
$\endgroup$
Commented
Jun 25, 2019 at 9:52