-
Notifications
You must be signed in to change notification settings - Fork 63
Description
after importing wireguard conf file in wireguird, trying to activate it fails with two errors in a row.
first error pretends the file does not exists and is wrong:
second error tells me wireguird has an unexpected limitations of 15 characters for the file name:
renaming the file so the filename length falls below the 15 chars limits, reimporting it and now it works.
this conf file has been generated automatically by my router and imported as is.
I cannot fathom why such a small limit on filename exists or why the length of a filename would prevent connecting to the server.
assuming this limits exist for valid reasons beyond me, why would the import process let me import the conf without complaining ?
some check should happen at that point raising an error during importation, or offer to rename the file to a shorter filename.
on the other, it there are no valid reasons for this 15 chars filename limit, maybe consider raising it to a more reasonable value 64 or 256 chars would be better.