Skip to content

Instantly share code, notes, and snippets.

View t-lo's full-sized avatar

Thilo Fromm t-lo

View GitHub Profile
@t-lo
t-lo / README.md
Created February 18, 2026 14:52 — forked from izzyleung/README.md
Update your WireGuard public key in Mullvad via its public API

Generate a new pair of keys via wg

$ wg genkey | tee privatekey | wg pubkey > publickey

Rotate your public key via the same logic as in Mullvad's source code:

  • Step 1: Obtaining an access token:
$ curl -fsSL -X POST \
    -H 'Content-Type: application/json' \