wireproxy icon indicating copy to clipboard operation
wireproxy copied to clipboard

Error: 'key should be 32 bytes:'

Open zod076 opened this issue 1 year ago • 3 comments

Hi, I'm on Debian Bullseye and I'm getting this error when I start Wireproxy.

key should be 32 bytes:

wireproxy.conf: WGConfig = /etc/wireguard/wg0.conf

[Socks5] BindAddress = 192.168.55.55:9090

Wireguard tunnel itself works btw.

Wireproxy version is v1.0.6-8-g0f4d79d

zod076 avatar Oct 21 '23 00:10 zod076

It meens that something is wrong with your PreSharedKey parameter in your configuration.

kubrickfr avatar Nov 03 '23 10:11 kubrickfr

I don't use PreSharedKeys.. I'm assuming I have to have it in the config file but with an empty field is okay and that might work ?

zod076 avatar Nov 04 '23 03:11 zod076

If you are not using it, then comment it in the configurations. You cannot leave it uncommented and empty at the same time. if you are not commenting it, you will have to provide a 32 long value for it.

As you are not using, just go comment it.

# PresharedKey :

MohammedNehadDalloul avatar Nov 27 '23 06:11 MohammedNehadDalloul