Skip to content

Commit f7f6aef

Browse files
committed
Disabled weak algorithms following Kantara SAML V2.0 Implementation Profile for Federation Interoperability
1 parent 58138e0 commit f7f6aef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/saml2/algsupport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
__author__ = 'roland'
77

88
DIGEST_METHODS = {
9-
"hmac-md5": 'http://www.w3.org/2001/04/xmldsig-more#md5', # test framework only!
9+
#"hmac-md5": 'http://www.w3.org/2001/04/xmldsig-more#md5', # test framework only!
1010
"hmac-sha1": 'http://www.w3.org/2000/09/xmldsig#sha1',
1111
"hmac-sha224": 'http://www.w3.org/2001/04/xmldsig-more#sha224',
1212
"hmac-sha256": 'http://www.w3.org/2001/04/xmlenc#sha256',
@@ -16,7 +16,7 @@
1616
}
1717

1818
SIGNING_METHODS = {
19-
"rsa-md5": 'http://www.w3.org/2001/04/xmldsig-more#rsa-md5',
19+
#"rsa-md5": 'http://www.w3.org/2001/04/xmldsig-more#rsa-md5',
2020
"rsa-ripemd160": 'http://www.w3.org/2001/04/xmldsig-more#rsa-ripemd160',
2121
"rsa-sha1": 'http://www.w3.org/2000/09/xmldsig#rsa-sha1',
2222
"rsa-sha224": 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha224',

0 commit comments

Comments
 (0)