Link to stackoverflow instead of mailing list.
@@ -12,7 +12,7 @@ import java.util.regex.Pattern;
*/
public class WireguardKey extends PatternedStringWrapper<WireguardKey> {
- // See https://lists.zx2c4.com/pipermail/wireguard/2020-December/006222.html
+ // See https://stackoverflow.com/questions/74438436/how-to-validate-a-wireguard-public-key
private static final Pattern pattern = Pattern.compile("^[A-Za-z0-9+/]{42}[AEIMQUYcgkosw480]=$");
public WireguardKey(String value) {
