From 6a179ff4ae2c6c61ced6eff8f8c0b41966cec35b Mon Sep 17 00:00:00 2001 From: Andrew Wason Date: Wed, 28 Nov 2018 12:46:24 -0500 Subject: Do not swallow response verification exceptions. Fixes IdentityPython/pysaml2#571 --- src/saml2/entity.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/saml2/entity.py b/src/saml2/entity.py index 7b857373..e69fc1aa 100644 --- a/src/saml2/entity.py +++ b/src/saml2/entity.py @@ -1207,8 +1207,6 @@ class Entity(HTTPBase): else: response.require_signature = require_signature response = response.verify(keys) - except Exception as err: - logger.error("Exception verifying assertion: %s" % err) else: assertions_are_signed = True finally: -- cgit v1.2.1