mirror of
https://github.com/GSA/notifications-api.git
synced 2026-06-27 02:39:36 -04:00
add comment
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user