Priority: P3 — affects one peer in roughly every eight (an 8-character base64 prefix contains / with ~12% probability); that tunnel's metadata cannot be edited in netOrk.
get_vpn_tunnels() builds the WireGuard key as f"wireguard-{iface}-{pubkey[:8]}". Base64 uses /, and netOrk uses the key as a URL path segment (PATCH /devices/{id}/vpn-tunnels/{tunnel_key}, and the UI route /devices/:id/vpn-tunnels/:tunnelKey). Even percent-encoded, %2F is decoded before routing, so a key with / does not match the route and the tunnel's site link cannot be set.
napalm-opnsense makes the prefix URL-safe (+ → -, / → _, NAPALM/napalm-opnsense#32). Doing the same here changes the key of every affected peer once; netOrk carries metadata across a key change (NetOrk/netork#1654).
Priority: P3 — affects one peer in roughly every eight (an 8-character base64 prefix contains `/` with ~12% probability); that tunnel's metadata cannot be edited in netOrk.
`get_vpn_tunnels()` builds the WireGuard key as `f"wireguard-{iface}-{pubkey[:8]}"`. Base64 uses `/`, and netOrk uses the key as a URL path segment (`PATCH /devices/{id}/vpn-tunnels/{tunnel_key}`, and the UI route `/devices/:id/vpn-tunnels/:tunnelKey`). Even percent-encoded, `%2F` is decoded before routing, so a key with `/` does not match the route and the tunnel's site link cannot be set.
napalm-opnsense makes the prefix URL-safe (`+` → `-`, `/` → `_`, NAPALM/napalm-opnsense#32). Doing the same here changes the key of every affected peer once; netOrk carries metadata across a key change (NetOrk/netork#1654).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Priority: P3 — affects one peer in roughly every eight (an 8-character base64 prefix contains
/with ~12% probability); that tunnel's metadata cannot be edited in netOrk.get_vpn_tunnels()builds the WireGuard key asf"wireguard-{iface}-{pubkey[:8]}". Base64 uses/, and netOrk uses the key as a URL path segment (PATCH /devices/{id}/vpn-tunnels/{tunnel_key}, and the UI route/devices/:id/vpn-tunnels/:tunnelKey). Even percent-encoded,%2Fis decoded before routing, so a key with/does not match the route and the tunnel's site link cannot be set.napalm-opnsense makes the prefix URL-safe (
+→-,/→_, NAPALM/napalm-opnsense#32). Doing the same here changes the key of every affected peer once; netOrk carries metadata across a key change (NetOrk/netork#1654).