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 hasValidContext(originalJson):
checkJsonSignature = True
else:
print('unrecognised @context: ' +
originalJson['@context'])
# strict enforcement of json signatures
if verifyAllSignatures and \