pufferffish / wireproxy

Wireguard client that exposes itself as a socks5 proxy
ISC License
4.1k stars 235 forks source link

Error: 'key should be 32 bytes:' #95

Open zod076 opened 8 months ago

zod076 commented 8 months ago

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

kubrickfr commented 7 months ago

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

zod076 commented 7 months ago

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 ?

MohammedNehadDalloul commented 7 months ago

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 :