mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
6b9f30cbd2
commit
99903072d2
3
inbox.py
3
inbox.py
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue