mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-04 19:52:33 +00:00
Tidying
This commit is contained in:
1 parent
7e99a5907f
commit
7cd716ddab
1 file changed
+9
-3
+9
-3
@@ -17,13 +17,19 @@ import requests
|
||||
from pprint import pprint
|
||||
from httpsig import testHttpsig
|
||||
from daemon import runDaemon
|
||||
import socket
|
||||
|
||||
username='testuser'
|
||||
#domain=socket.gethostname()
|
||||
domain='mydomain.com'
|
||||
port=6227
|
||||
https=True
|
||||
useTor=False
|
||||
session = createSession(useTor)
|
||||
|
||||
privateKeyPem,publicKeyPem,person,wfEndpoint=createPerson('testuser','mydomain.com',True,True)
|
||||
setPreferredUsername('testuser','mydomain.com','badger')
|
||||
runDaemon('mydomain.com',6227,False)
|
||||
privateKeyPem,publicKeyPem,person,wfEndpoint=createPerson(username,domain,https,True)
|
||||
setPreferredUsername(username,domain,'badger')
|
||||
runDaemon(domain,port,useTor)
|
||||
|
||||
#testHttpsig()
|
||||
#sys.exit()
|
||||
|
||||
Reference in new issue
Block a user