diff options
author | Hans Hörberg <hans.horberg@umu.se> | 2015-05-19 16:10:35 +0200 |
---|---|---|
committer | Hans Hörberg <hans.horberg@umu.se> | 2015-05-19 16:10:35 +0200 |
commit | ff7a69fc93716981a42d6ad0cc95e1ba2eade0e8 (patch) | |
tree | b2a2819fa4c676f8ef0048b45bfc4783c5986c74 /src/saml2/config.py | |
parent | eb1f1778db697da99602eefd992ad1992aa32126 (diff) | |
download | pysaml2-ff7a69fc93716981a42d6ad0cc95e1ba2eade0e8.tar.gz |
Fix, so if no encryption keys exists will the server not encrypt the message.
Extended the test suite with negative tests.
Diffstat (limited to 'src/saml2/config.py')
-rw-r--r-- | src/saml2/config.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/saml2/config.py b/src/saml2/config.py index d7953a0b..8fd6048c 100644 --- a/src/saml2/config.py +++ b/src/saml2/config.py @@ -67,7 +67,8 @@ COMMON_ARGS = [ "cert_handler_extra_class", "generate_cert_func", "generate_cert_info", - "verify_encrypt_cert", + "verify_encrypt_cert_advice", + "verify_encrypt_cert_assertion", "tmp_cert_file", "tmp_key_file", "validate_certificate", @@ -97,6 +98,8 @@ AA_IDP_ARGS = [ "sign_assertion", "sign_response", "encrypt_assertion", + "encrypted_advice_attributes", + "encrypt_assertion_self_contained", "want_authn_requests_signed", "want_authn_requests_only_with_valid_cert", "provided_attributes", @@ -219,7 +222,8 @@ class Config(object): self.allow_unsolicited = False self.extension_schema = {} self.cert_handler_extra_class = None - self.verify_encrypt_cert = None + self.verify_encrypt_cert_advice = None + self.verify_encrypt_cert_assertion = None self.generate_cert_func = None self.generate_cert_info = None self.tmp_cert_file = None |