Closed arisudesu closed 3 years ago
mmm this is weird and most likely a bug. Thank you for reporting, the repro is quite clear 👍 !
Then friendly names work.
What client are you using on that peer?
I don't know/think friendly names are part of the wireguard original program.
Yes it was a bug indeed. This is what happens when you roll your custom parser 🤷♂️.
The above PR should fix this: can you try it and get back to me please?
Update: sorry autoclosed by GitHub 🙄 .
A quick check shows that this is now working correctly. Thanks!
@qdm12 It is a feature of this exporter.
As says the title, friendly names are not matched with public keys, if the public key line contains comment.
My wireguard config looks like this:
With this config, no friendly names are exported, although this is valid wireguard conf file.
If I modify peer config like this:
Then friendly names work.