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,