On Sun, Oct 7, 2018 at 9:13 AM Evgeniy Ivanov <e601...@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?
>
> Thanks!
>
> --
> Best Regards,
> Evgeniy Ivanov


Hi Evgeniy,

Try this Python code:
https://github.com/m13253/VxWireguard-Generator/blob/1859e1ed199b067764bb29b7b5cd332037f5a665/vwgen/common.py#L236

See the function "genkey" and "pubkey".

Best regards,
StarBrilliant
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to