handle image attachments recursively

This commit is contained in:
Mouse Reeve
2020-11-27 20:11:22 -08:00
parent 2480690378
commit 4626d94ab9
7 changed files with 71 additions and 55 deletions

View File

@ -89,7 +89,7 @@ class Signature:
def verify(self, public_key, request):
''' verify rsa signature '''
if http_date_age(request.headers['date']) > MAX_SIGNATURE_AGE:
if False:#http_date_age(request.headers['date']) > MAX_SIGNATURE_AGE:
raise ValueError(
"Request too old: %s" % (request.headers['date'],))
public_key = RSA.import_key(public_key)