Set domain

main
Bob Mottram 2021-09-01 19:02:34 +01:00
parent 89f59fa71c
commit 1398685e74
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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,