$ wg genkey | tee privatekey | wg pubkey > publickeyRotate 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' \$ wg genkey | tee privatekey | wg pubkey > publickey$ curl -fsSL -X POST \
-H 'Content-Type: application/json' \