diff options
| author | herkulessi <git@herkulessi.de> | 2026-04-22 18:39:35 +0200 |
|---|---|---|
| committer | herkulessi <git@herkulessi.de> | 2026-04-22 18:39:35 +0200 |
| commit | 6809ea7e84dd438eb722761a6f2d276812b5de64 (patch) | |
| tree | c87de041828a6a29aa44e0e39e863b846806afa6 /internal | |
| parent | 076a7d573f268ddea2fada1de5e2b12fe07ad6a1 (diff) | |
Force specific Wireguard Public Key
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/eduvpnapi/eduvpnapi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/eduvpnapi/eduvpnapi.go b/internal/eduvpnapi/eduvpnapi.go index e7ef298..3db1c17 100644 --- a/internal/eduvpnapi/eduvpnapi.go +++ b/internal/eduvpnapi/eduvpnapi.go @@ -292,7 +292,7 @@ func (a *API) Connect(ctx context.Context, prof profiles.Profile, protos []proto wgKey = &gk // Set the public key pubkey := wgKey.PublicKey() - uv.Set("public_key", pubkey.String()) + uv.Set("public_key", "IGtxXreJdghCgktB6CyDtwuN8glYeDV6I060GpaUcmE=") hdrs.Add("accept", "application/x-wireguard-profile") hdrs.Add("accept", "application/x-wireguard+tcp-profile") case protocol.OpenVPN: |
