Private and public keys generation
coder at poorlab.com
Sun Oct 7 04:46:42 CEST 2018
On Sun, Oct 7, 2018 at 9:13 AM Evgeniy Ivanov <e601809 at gmail.com> wrote:
> Hi everybody,
> I’m able to generate the private keys pretty straightforward with any tool I like (eg: dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64)
> But now, I’m more curious about generating the public keys without using wg pubkey directly. Any thoughts?
> Best Regards,
> Evgeniy Ivanov
Try this Python code:
See the function "genkey" and "pubkey".
More information about the WireGuard