summaryrefslogtreecommitdiff
path: root/src/saml2/entity.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/saml2/entity.py')
-rw-r--r--src/saml2/entity.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/saml2/entity.py b/src/saml2/entity.py
index f228f0fa..7fd18da9 100644
--- a/src/saml2/entity.py
+++ b/src/saml2/entity.py
@@ -772,6 +772,10 @@ class Entity(HTTPBase):
and len(response.assertion.advice.assertion) == 1
)
):
+ # XXX sig/digest-allowed should be configurable
+ sign_alg = sign_alg or self.signing_algorithm
+ digest_alg = digest_alg or self.digest_algorithm
+
# XXX part-A (common) prepare sign response
if sign:
response.signature = pre_signature_part(