blob: 00cb3be176328cdc8eb1a57a82884e8a8a666d4a (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
MY_ASN = 4242422452
MY_IPLL = 'fe80::800:8135'
import socket
MY_ENDPOINT = socket.getfqdn()
MY_PUBKEY = open('/etc/wireguard/pubkey', 'r').read().strip()
import sqlite3
DB = sqlite3.connect('file:/opt/autopeer/db/sqlite3.db?mode=rw', uri=True, autocommit=True)
try:
MY_PRIVKEY = open('/etc/wireguard/privkey', 'r').read().strip()
except: # open will fail due to perms as user
MY_PRIVKEY = None
NOTIFY_TO = 'tcp:chaos.1459.dn42:13336'
|