"bus error" when generating public key
olemd at glemt.net
Mon Dec 10 08:25:04 CET 2018
On 2018-12-07 12:46, Christian Hewitt wrote:
> I’m working to add WireGuard support to an embedded distro that runs
> on a mix of x86 and ARM hardware. I’m using 4.19.7 as the kernel base,
> cross compiling using a well proven toolchain and build-system. The
> kernel defconfig can be seen here:
> I see no compile errors when building the kernel module or wireguard
> tools. The kernel module loads without errors and ‘wg’ can generate
> private and preshared keys, but when creating a public key from the
> private key ‘wg pubkey < /path/to/privatekey' fails with “Bus error”
> and no key is generated.
"Bus error" from the wg tool doesn't have any thing to do with the
kernel-module. If I should guess I'd go for some incompatibility between
the installed wireguard-tools package and the rest of your system.
Also, my /usr/bin/wg is linked with libmnl0 as well.
More information about the WireGuard