Skip to content

Commit 94ffddf

Browse files
timofey-barminc00kiemon5ter
authored andcommitted
Don't let create_metadata_string miss crypto_backend
Problem: create_metadata_string uses xmlsec1 unconditionally. Even when crypto_backend is set to XMLsecurity.
1 parent 2d47437 commit 94ffddf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/saml2/metadata.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def create_metadata_string(
106106
conf.key_file = config.key_file or keyfile
107107
conf.cert_file = config.cert_file or cert
108108
conf.xmlsec_binary = config.xmlsec_binary
109+
conf.crypto_backend = config.crypto_backend
109110
secc = security_context(conf)
110111

111112
sign_alg = sign_alg or config.signing_algorithm

0 commit comments

Comments
 (0)