Show from key

alt-html-css
Bob Mottram 2021-01-03 14:36:16 +00:00
parent 8c3ca5a69c
commit 183141ee80
1 changed files with 4 additions and 2 deletions

View File

@ -2706,11 +2706,13 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int,
hasJsonSig = True hasJsonSig = True
if not queueJson['post'].get('signature'): if not queueJson['post'].get('signature'):
print('WARN: jsonld inbox signature signature missing') print('WARN: jsonld inbox signature signature missing from ' +
keyId)
hasJsonSig = False hasJsonSig = False
if not queueJson['post']['signature'].get('type'): if not queueJson['post']['signature'].get('type'):
print('WARN: jsonld inbox signature type missing') print('WARN: jsonld inbox signature type missing from ' +
keyId)
hasJsonSig = False hasJsonSig = False
# if not jsonldVerify(queueJson['post'], pubKey): # if not jsonldVerify(queueJson['post'], pubKey):