From bc575dc6c0ff22ab80b6b631f67d1c165f4387e0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 3 Jan 2021 18:38:23 +0000 Subject: [PATCH] Debug --- jsonldsig.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jsonldsig.py b/jsonldsig.py index df7e93a5..a9e14ecb 100644 --- a/jsonldsig.py +++ b/jsonldsig.py @@ -93,6 +93,7 @@ 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])