We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb6f47 commit 40d0b28Copy full SHA for 40d0b28
1 file changed
src/onelogin/saml2/response.py
@@ -437,6 +437,7 @@ def __decrypt_assertion(self, xml):
437
:rtype: Element
438
"""
439
key = self.__settings.get_sp_key()
440
+ debug = self.__settings.is_debug_active()
441
442
if not key:
443
raise Exception('No private key available, check settings')
@@ -465,7 +466,7 @@ def __decrypt_assertion(self, xml):
465
466
keyinfo.append(encrypted_key[0])
467
468
encrypted_data = encrypted_data_nodes[0]
- OneLogin_Saml2_Utils.decrypt_element(encrypted_data, key)
469
+ OneLogin_Saml2_Utils.decrypt_element(encrypted_data, key, debug)
470
return xml
471
472
def get_error(self):
0 commit comments