Displaying 4 results from an estimated 4 matches for "ed25519_key".
2015 Jan 14
4
Obtain public key
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments...
2015 Jan 12
1
SIMPLE TINC template example
....sh
#!/bin/bash
SDIR=$1
NODENAME=$2
PORT=$3
MASK=$4
LISTIP=$5
OPNIP=$6
VPNIP=$7
CONN1=$8
CONN2=$9
CONN3=${10}
#READING IN THE RSA AND 25519 KEYS CAUSES ALL SORTS OF HEADACHES WITH SED
#JUST KEEP THEM IN THE TEMPLATES AS IS
#RSAKEY=$(cat "/tinc/rsa_key.pub")
#ED25519KEY=$(cat "/tinc/ed25519_key.pub")
echo "-------------TEMPLATE WRITER VARIABLES-----------"
echo "DIR: ${SDIR}"
echo "NODENAME: ${NODENAME}"
echo "PORT: ${PORT}"
echo "MASK: ${MASK}"
echo "LISTIP: ${LISTIP}"
echo "OPNIP: ${OPNIP}"
echo "VPNIP: ${V...
2015 Jan 14
2
Obtain public key
...000, 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
>
> Ed25519 keys are not supported by OpenSSL, and are gener...
2015 Jan 14
0
Obtain public key
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
Ed25519 keys are not supported by OpenSSL, and are generated completely
by tinc itself. The format...