main
Bob Mottram 2021-01-05 20:15:52 +00:00
parent 6b9f30cbd2
commit 99903072d2
1 changed files with 3 additions and 0 deletions

View File

@ -2726,6 +2726,9 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int,
if jwebsig['type'] == 'RsaSignature2017': if jwebsig['type'] == 'RsaSignature2017':
if hasValidContext(originalJson): if hasValidContext(originalJson):
checkJsonSignature = True checkJsonSignature = True
else:
print('unrecognised @context: ' +
originalJson['@context'])
# strict enforcement of json signatures # strict enforcement of json signatures
if verifyAllSignatures and \ if verifyAllSignatures and \