Skip to content

Commit 1994002

Browse files
committed
Allow do_attribute_query to set a signature algorithm
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent e208dfd commit 1994002

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/saml2/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ def do_attribute_query(
470470
sign=False,
471471
binding=BINDING_SOAP,
472472
nsprefix=None,
473+
sign_alg=None,
473474
):
474475
""" Does a attribute request to an attribute authority, this is
475476
by default done over SOAP.
@@ -535,6 +536,7 @@ def do_attribute_query(
535536
destination,
536537
relay_state,
537538
sign=sign,
539+
sigalg=sign_alg,
538540
)
539541
else:
540542
raise SAMLError("Unsupported binding")

0 commit comments

Comments
 (0)