From 1398685e7445eb25ced67a3ea0059450166190bd Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 1 Sep 2021 19:02:34 +0100 Subject: [PATCH] Set domain --- epicyon.py | 4 ++-- session.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/epicyon.py b/epicyon.py index 9576f1b81..453e6eb11 100644 --- a/epicyon.py +++ b/epicyon.py @@ -890,7 +890,7 @@ if args.json: else: print('Did not obtain instance actor key for ' + args.domain) testJson = getJson(signingPrivateKeyPem, session, args.json, asHeader, - None, debug, __version__, httpPrefix, None) + None, debug, __version__, httpPrefix, args.domain) pprint(testJson) sys.exit() @@ -1907,7 +1907,7 @@ if args.actor: print('Obtained instance actor signing key') else: print('Did not obtain instance actor key for ' + domain) - getActorJson(args.domain, args.actor, args.http, args.gnunet, + getActorJson(domain, args.actor, args.http, args.gnunet, debug, False, signingPrivateKeyPem) sys.exit() diff --git a/session.py b/session.py index 4199f82e1..de772fa85 100644 --- a/session.py +++ b/session.py @@ -99,7 +99,7 @@ def _getJsonRequest(session, url: str, domainFull: str, sessionHeaders: {}, print("WARN: getJson requires secure fetch url: " + url) else: if debug: - print('Using signed GET') + print('Using signed GET for domain: ' + domainFull) return _getJsonSigned(session, url, domainFull, sessionHeaders, sessionParams, timeoutSec, signingPrivateKeyPem,