mirror of https://gitlab.com/bashrc2/epicyon
Signing key warnings
parent
3ea3583436
commit
d68f500455
|
@ -2745,6 +2745,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
else:
|
else:
|
||||||
print('Sending follow request from ' +
|
print('Sending follow request from ' +
|
||||||
followerNickname + ' to ' + followingActor)
|
followerNickname + ' to ' + followingActor)
|
||||||
|
if not self.server.signingPrivateKeyPem:
|
||||||
|
print('Sending follow request with no signing key')
|
||||||
sendFollowRequest(self.server.session,
|
sendFollowRequest(self.server.session,
|
||||||
baseDir, followerNickname,
|
baseDir, followerNickname,
|
||||||
domain, port,
|
domain, port,
|
||||||
|
|
2
posts.py
2
posts.py
|
@ -318,6 +318,8 @@ def _getPersonBoxActor(session, baseDir: str, actor: str,
|
||||||
if personJson:
|
if personJson:
|
||||||
return personJson
|
return personJson
|
||||||
print('Unable to get actor for ' + actor)
|
print('Unable to get actor for ' + actor)
|
||||||
|
if not signingPrivateKeyPem:
|
||||||
|
print('No signing key provided when getting actor')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue