NHAS / wag

Simple Wireguard 2FA
BSD 3-Clause "New" or "Revised" License
499 stars 27 forks source link

[Feature Request] Support `PresharedKey` #26

Closed ak-aozasa closed 1 year ago

ak-aozasa commented 1 year ago

Hi,

Thank you for a great product. It is very helpful for me!

Would it be possible for to extend wag to support PresharedKey? PresharedKey is a standard feature of wireguard. ref.: https://man7.org/linux/man-pages/man8/wg.8.html#CONFIGURATION_FILE_FORMAT

I would like to use PresharedKey to improve security.

NHAS commented 1 year ago

Yep I can look at supporting this.

I am currently planning on supporting this by just randomly generating it per device. At the moment there is a big effort to get a web ui developed, but after I've completed that work I'll get this done as its relatively easy :)

ak-aozasa commented 1 year ago

Thank you for your consideration.

I am looking forward to it being implemented.

NHAS commented 1 year ago

Just leaving a note here, I've completed this feature on the unstable branch and will do a release when I can bundle it in to some of the other small feature requests.

ak-aozasa commented 1 year ago

@NHAS Thank you for implementing my request!

NHAS commented 1 year ago

No problem. As thanks you can pull down the latest version and make sure it isn't horribly buggy :p