wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
From: nicolas prochazka <prochazka.nicolas@gmail.com>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Using openssl to generate private Key
Date: Sun, 8 Sep 2019 22:16:19 +0200	[thread overview]
Message-ID: <CADdae-jaGWC=HxVpU7Gc6QD=mCgq6O2jTXdmzeKXyKvLq6QVmw@mail.gmail.com> (raw)

Hello,
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
 echo -n 'MC4CAQAwBQYDK2VuBCIEIFBA+aTU9C5BrNPaJe0IVBZfZF39+8WqiYET0XEEM7Ba'
| 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.

Regards,
Nicolas
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

             reply	other threads:[~2019-09-08 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-08 20:16 nicolas prochazka [this message]
2019-09-08 21:24 ` Using openssl to generate private Key Jason A. Donenfeld
2019-09-10  9:36   ` nicolas prochazka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADdae-jaGWC=HxVpU7Gc6QD=mCgq6O2jTXdmzeKXyKvLq6QVmw@mail.gmail.com' \
    --to=prochazka.nicolas@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).