summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Wason <rectalogic@rectalogic.com>2017-06-26 13:49:09 -0400
committerAndrew Wason <rectalogic@rectalogic.com>2017-06-26 13:49:09 -0400
commit0a6df49f1a1cdd2c9379cd086f0df3db7c46d06e (patch)
tree330765b21791635cc3f2dc60a6622a610b9bc77d
parent63d316554075740906282eee5967dc7149e3fd6f (diff)
downloadpysaml2-0a6df49f1a1cdd2c9379cd086f0df3db7c46d06e.tar.gz
Fix dsa-sha1 signature URLs.
-rw-r--r--src/saml2/algsupport.py2
-rw-r--r--src/saml2/xmldsig/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/saml2/algsupport.py b/src/saml2/algsupport.py
index f9bc06b8..72036b40 100644
--- a/src/saml2/algsupport.py
+++ b/src/saml2/algsupport.py
@@ -23,7 +23,7 @@ SIGNING_METHODS = {
"rsa-sha256": 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256',
"rsa-sha384": 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha384',
"rsa-sha512": 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha512',
- "dsa-sha1": 'http,//www.w3.org/2000/09/xmldsig#dsa-sha1',
+ "dsa-sha1": 'http://www.w3.org/2000/09/xmldsig#dsa-sha1',
'dsa-sha256': 'http://www.w3.org/2009/xmldsig11#dsa-sha256',
'ecdsa_sha1': 'http://www.w3.org/2001/04/xmldsig-more#ECDSA_sha1',
'ecdsa_sha224': 'http://www.w3.org/2001/04/xmldsig-more#ECDSA_sha224',
diff --git a/src/saml2/xmldsig/__init__.py b/src/saml2/xmldsig/__init__.py
index e00f199d..144cdf54 100644
--- a/src/saml2/xmldsig/__init__.py
+++ b/src/saml2/xmldsig/__init__.py
@@ -29,7 +29,7 @@ DIGEST_ALLOWED_ALG = (('DIGEST_SHA1', DIGEST_SHA1),
('DIGEST_RIPEMD160', DIGEST_RIPEMD160))
DIGEST_AVAIL_ALG = DIGEST_ALLOWED_ALG + (('DIGEST_MD5', DIGEST_MD5),)
-SIG_DSA_SHA1 = 'http,//www.w3.org/2000/09/xmldsig#dsa-sha1'
+SIG_DSA_SHA1 = 'http://www.w3.org/2000/09/xmldsig#dsa-sha1'
SIG_DSA_SHA256 = 'http://www.w3.org/2009/xmldsig11#dsa-sha256'
SIG_ECDSA_SHA1 = 'http://www.w3.org/2001/04/xmldsig-more#ECDSA_sha1'
SIG_ECDSA_SHA224 = 'http://www.w3.org/2001/04/xmldsig-more#ECDSA_sha224'