add comment

This commit is contained in:
Kenneth Kehl
2025-06-09 08:33:37 -07:00
parent cbe50a1aa7
commit 75319cc6e6

View File

@@ -112,6 +112,7 @@ def validate_sns_cert(sns_payload):
signature = base64.b64decode(sns_payload["Signature"])
# TODO we can remove oscrypto and use calls from cryptography instead
try:
oscrypto.asymmetric.rsa_pkcs1v15_verify(
oscrypto.asymmetric.load_certificate(certificate),