Commit 3660310

mokha <mo@mokhan.ca>
2019-04-30 19:22:53
Correct the sha1 digest name.
https://github.com/saml-kit/xml-kit/issues/12#issuecomment-487689017
1 parent 8354331
Changed files (1)
lib
lib/xml/kit/signature.rb
@@ -15,7 +15,7 @@ module Xml
         SHA512: 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha512',
       }.freeze
       DIGEST_METHODS = {
-        SHA1: 'http://www.w3.org/2000/09/xmldsig#SHA1',
+        SHA1: 'http://www.w3.org/2000/09/xmldsig#sha1',
         SHA224: 'http://www.w3.org/2001/04/xmldsig-more#sha224',
         SHA256: 'http://www.w3.org/2001/04/xmlenc#sha256',
         SHA384: 'http://www.w3.org/2001/04/xmldsig-more#sha384',