mirror of https://gitlab.com/bashrc2/epicyon
Only abandon post if signature checking is strict
parent
75788fd9f8
commit
584fe93b56
11
inbox.py
11
inbox.py
|
@ -2745,11 +2745,12 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int,
|
||||||
else:
|
else:
|
||||||
print('WARN: jsonld inbox signature check failed ' +
|
print('WARN: jsonld inbox signature check failed ' +
|
||||||
keyId)
|
keyId)
|
||||||
if os.path.isfile(queueFilename):
|
if verifyAllSignatures:
|
||||||
os.remove(queueFilename)
|
if os.path.isfile(queueFilename):
|
||||||
if len(queue) > 0:
|
os.remove(queueFilename)
|
||||||
queue.pop(0)
|
if len(queue) > 0:
|
||||||
continue
|
queue.pop(0)
|
||||||
|
continue
|
||||||
else:
|
else:
|
||||||
print('jsonld inbox signature check success ' + keyId)
|
print('jsonld inbox signature check success ' + keyId)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue