mirror of https://gitlab.com/bashrc2/epicyon
Set domain
parent
89f59fa71c
commit
1398685e74
|
@ -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()
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue