Using openssl to generate private Key

nicolas prochazka prochazka.nicolas at
Sun Sep 8 22:16:19 CEST 2019

I'm trying to use openssl to generate curve key ,
as : openssl genpkey -algorithm X25519
however, result seems to be not understand by wg pubkey
 openssl genpkey -algorithm X25519
| wg pubkey
wg: Trailing characters found after key

How Can I do ?
We  need to create private key with an internal tool based on openssl
library , sorry.


More information about the WireGuard mailing list