Obtain public key

Peter Dey tinc at realmtech.net
Wed Jan 14 13:38:46 CET 2015


Give this a go:

openssl rsa -in ed25519_key.priv -pubout

Cheers,
Peter


On Wed, Jan 14, 2015 at 12:28:00PM +0000, Martin wrote:
> Is there any way to obtain the public key from the private key?
> I know it's in host file however for the purpose of this message I need to
> be able to generate it on the command line.
> I tried
> 
> openssl ec < ed25519_key.priv
> 
> I get an error
> 
> read EC key
> unable to load Key
> 140092556813984:error:0906D06C:PEM routines:PEM_read_bio:no start
> line:pem_lib.c:703:Expecting: ANY PRIVATE KEY

> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc



More information about the tinc mailing list