mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
2449b57005
commit
bc575dc6c0
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue