mirror of
https://github.com/max-moser/network-manager-wireguard.git
synced 2025-02-20 06:46:21 +03:00
Write PresharedKey to [Peer] section instead of [Interface] on export, as it should be. Change ConnectionEditor UI accordingly to reflect this change. Add check for proper length and Base64 encoding of keys (public, private, PSK).
The files in the "shared/" directory are used by all components inside the VPN plugin repository (src, properties, auth-dialog). The files in shared/nm-utils are copied from NetworkManager repository and used as is: Do *not* modify these files locally so that they don't diverge from their original. Fix/extend them in their respective origin first, and re-import the files as a whole.