Re: [PATCH] wg: syncconf: also handle psk changes
"Jason A. Donenfeld" <[email protected]>
| Newsgroups | com.zx2c4.lists.wireguard |
|---|---|
| Message-ID | <CAHmME9q9t122WdD=kW6siHujMVjXOj-rehx-2wKFUuq15-dkQQ@mail.gmail.com> |
Your patch is wrong; did you test it? When it detects a mismatch in PSK, it removes the peer, rather than removing the PSK. I implemented a different fix: https://git.zx2c4.com/wireguard-tools/commit/?id=780182e37d2b5981171766b8f31bcefd64da7a43 It seems to work for me, but please test this and let me know. Either way, thanks for the bug report. Thanks, Jason