$ 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' \
$ wg genkey | tee privatekey | wg pubkey > publickey
$ curl -fsSL -X POST \
-H 'Content-Type: application/json' \
apiVersion: extensions/v1beta1 | |
kind: PodSecurityPolicy | |
metadata: | |
name: restricted | |
annotations: | |
seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default' | |
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' | |
seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default' | |
apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default' | |
spec: |
package main | |
import ( | |
"bytes" | |
"flag" | |
"fmt" | |
"io" | |
"os" | |
"strconv" | |
"strings" |
#! /bin/bash -e | |
# | |
# maintain spamhaus blacklists as quagga prefix filters | |
# | |
cd ~/net | |
wget -nv -N http://www.spamhaus.org/drop/{,e}drop.txt | |
re1='^([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/[0-9]+) ' | |
re2='^([-+])([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/[0-9]+)$' |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
XMPP = {}; | |
// ............................................... | |
// Models | |
// | |
XMPP.BOSHConnection = SC.Record.extend({ | |
primaryKey: 'jid', | |
jid: SC.Record.attr(String), | |
password: SC.Record.attr(String), |