Skip to content

Commit b028d0f

Browse files
authored
Merge pull request #364 from ashimaathri/fix-signature-id
The ID of each Signature element must be unique
2 parents 05d9276 + 4375361 commit b028d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def _authn_response(self, in_response_to, consumer_url,
476476
if not encrypt_assertion:
477477
if sign_assertion:
478478
assertion.signature = pre_signature_part(assertion.id,
479-
self.sec.my_cert, 1,
479+
self.sec.my_cert, 2,
480480
sign_alg=sign_alg,
481481
digest_alg=digest_alg)
482482
to_sign.append((class_name(assertion), assertion.id))

0 commit comments

Comments
 (0)