[Pkg-haskell-commits] darcs: haskell-tls-extra: Don't choke on SHA256 RSA signatures.

Clint Adams clint at debian.org
Sat Apr 27 04:02:51 UTC 2013


Sat Apr 27 04:02:46 UTC 2013  Clint Adams <clint at debian.org>
  * Don't choke on SHA256 RSA signatures.
  Ignore-this: 9f08aa979634a8fcc8eb29e5ea7ca927

    M ./changelog +6
    A ./patches/
    A ./patches/series
    A ./patches/sha256.diff

Sat Apr 27 04:02:46 UTC 2013  Clint Adams <clint at debian.org>
  * Don't choke on SHA256 RSA signatures.
  Ignore-this: 9f08aa979634a8fcc8eb29e5ea7ca927
diff -rN -u old-haskell-tls-extra//changelog new-haskell-tls-extra//changelog
--- old-haskell-tls-extra//changelog	2013-04-27 04:02:51.419020603 +0000
+++ new-haskell-tls-extra//changelog	2013-04-27 04:02:51.431020096 +0000
@@ -1,3 +1,9 @@
+haskell-tls-extra (0.6.1-2) experimental; urgency=low
+
+  * Don't choke on SHA256 RSA signatures.
+
+ -- Clint Adams <clint at debian.org>  Sat, 27 Apr 2013 03:59:48 +0000
+
 haskell-tls-extra (0.6.1-1) experimental; urgency=low
 
   * New upstream release
diff -rN -u old-haskell-tls-extra//patches/series new-haskell-tls-extra//patches/series
--- old-haskell-tls-extra//patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-tls-extra//patches/series	2013-04-27 04:02:51.435021333 +0000
@@ -0,0 +1 @@
+sha256.diff
diff -rN -u old-haskell-tls-extra//patches/sha256.diff new-haskell-tls-extra//patches/sha256.diff
--- old-haskell-tls-extra//patches/sha256.diff	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-tls-extra//patches/sha256.diff	2013-04-27 04:02:51.435021333 +0000
@@ -0,0 +1,12 @@
+Index: haskell-tls-extra-0.6.1/Network/TLS/Extra/Certificate.hs
+===================================================================
+--- haskell-tls-extra-0.6.1.orig/Network/TLS/Extra/Certificate.hs	2013-01-19 11:43:12.000000000 +0000
++++ haskell-tls-extra-0.6.1/Network/TLS/Extra/Certificate.hs	2013-04-27 03:59:42.148947546 +0000
+@@ -154,6 +154,7 @@
+ verifyF (SignatureALG HashMD5 PubKeyALG_RSA) (PubKeyRSA rsak) = RSA.verify HD.hashDescrMD5 rsak
+ verifyF (SignatureALG HashSHA1 PubKeyALG_RSA) (PubKeyRSA rsak) = RSA.verify HD.hashDescrSHA1 rsak
+ verifyF (SignatureALG HashSHA1 PubKeyALG_DSA) (PubKeyDSA dsak) = dsaSHA1Verify dsak
++verifyF (SignatureALG HashSHA256 PubKeyALG_RSA) (PubKeyRSA rsak) = RSA.verify HD.hashDescrSHA256 rsak
+ 
+ verifyF _ _ = \_ _ -> False
+ 





More information about the Pkg-haskell-commits mailing list