diff --git a/inbox.py b/inbox.py index 7159b8b4..5c2f0e2f 100644 --- a/inbox.py +++ b/inbox.py @@ -2710,6 +2710,7 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int, queueJson['original'].get('signature'): # use the original json message received, not one which may have # been modified along the way + print('inbox signature: ' + str(queueJson['original'])) if not jsonldVerify(queueJson['original'], pubKey): print('WARN: jsonld inbox signature check failed ' + keyId + ' ' + pubKey + ' ' + diff --git a/jsonldsig.py b/jsonldsig.py index a9e14ecb..df7e93a5 100644 --- a/jsonldsig.py +++ b/jsonldsig.py @@ -93,7 +93,6 @@ def _verifyJws(payload: {}, jwsSignature: str, publicKeyPem: str) -> bool: """ Verifies a signature using the given public key """ - print('inbox signature: ' + str(jwsSignature)) encodedHeader, encodedSignature = jwsSignature.split(b'..') signature = _b64safeDecode(encodedSignature) payload = b'.'.join([encodedHeader, payload])