Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zod076 opened this issue Oct 21, 2023 · 3 comments
Open

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

zod076 opened this issue Oct 21, 2023 · 3 comments

Comments

@zod076
Copy link

zod076 commented Oct 21, 2023

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
Copy link
Contributor

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

@zod076
Copy link
Author

zod076 commented Nov 4, 2023

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
Copy link

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 :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants