Hello community,

here is the log from the commit of package ghc-RSA for openSUSE:Factory checked 
in at 2017-08-31 20:46:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-RSA (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-RSA.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-RSA"

Thu Aug 31 20:46:06 2017 rev:4 rq:513195 version:2.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-RSA/ghc-RSA.changes  2016-07-27 
16:09:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-RSA.new/ghc-RSA.changes     2017-08-31 
20:46:08.214419939 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:07:58 UTC 2017 - psim...@suse.com
+
+- Update to version 2.3.0.
+
+-------------------------------------------------------------------

Old:
----
  RSA-2.2.0.tar.gz

New:
----
  RSA-2.3.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-RSA.spec ++++++
--- /var/tmp/diff_new_pack.mLBLQy/_old  2017-08-31 20:46:09.246275105 +0200
+++ /var/tmp/diff_new_pack.mLBLQy/_new  2017-08-31 20:46:09.250274543 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-RSA
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,21 +19,19 @@
 %global pkg_name RSA
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        2.2.0
+Version:        2.3.0
 Release:        0
 Summary:        Implementation of RSA, using the padding schemes of PKCS#1 v2.1
 License:        BSD-3-Clause
-Group:          System/Libraries
+Group:          Development/Languages/Other
 Url:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-SHA-devel
 BuildRequires:  ghc-binary-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-crypto-api-devel
 BuildRequires:  ghc-crypto-pubkey-types-devel
-BuildRequires:  ghc-pureMD5-devel
 BuildRequires:  ghc-rpm-macros
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
@@ -43,7 +41,6 @@
 BuildRequires:  ghc-test-framework-devel
 BuildRequires:  ghc-test-framework-quickcheck2-devel
 %endif
-# End cabal-rpm deps
 
 %description
 This library implements the RSA encryption and signature algorithms for
@@ -66,20 +63,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++++++ RSA-2.2.0.tar.gz -> RSA-2.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/RSA-2.2.0/RSA.cabal new/RSA-2.3.0/RSA.cabal
--- old/RSA-2.2.0/RSA.cabal     2015-10-12 20:52:47.000000000 +0200
+++ new/RSA-2.3.0/RSA.cabal     2017-06-08 23:42:59.000000000 +0200
@@ -1,6 +1,6 @@
 name:       RSA
 category:   Cryptography, Codec
-version:    2.2.0
+version:    2.3.0
 license:    BSD3
 license-file: LICENSE
 author:     Adam Wick <aw...@galois.com>
@@ -24,7 +24,6 @@
                    bytestring          >  0.8     && < 0.12,
                    crypto-api          >= 0.10    && < 0.14,
                    crypto-pubkey-types >= 0.2     && < 0.6,
-                   pureMD5             >= 2.1     && < 2.3,
                    SHA                 >= 1.6.4.1 && < 2.0
   exposed-modules: Codec.Crypto.RSA,
                    Codec.Crypto.RSA.Exceptions,
@@ -42,7 +41,6 @@
                   crypto-api                 >= 0.10    && < 0.14,
                   crypto-pubkey-types        >= 0.4     && < 0.6,
                   DRBG                       >= 0.5.2   && < 0.7,
-                  pureMD5                    >= 2.1     && < 2.3,
                   QuickCheck                 >= 2.5     && < 3,
                   tagged                     >= 0.2     && < 0.9,
                   test-framework             >= 0.8.0.3 && < 0.10,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/RSA-2.2.0/Test.hs new/RSA-2.3.0/Test.hs
--- old/RSA-2.2.0/Test.hs       2015-10-12 20:52:47.000000000 +0200
+++ new/RSA-2.3.0/Test.hs       2017-06-08 23:42:59.000000000 +0200
@@ -4,7 +4,6 @@
 import qualified Data.ByteString as BSS
 import Data.ByteString.Lazy(ByteString)
 import qualified Data.ByteString.Lazy as BS
-import qualified Data.Digest.Pure.MD5 as MD5
 import Data.Digest.Pure.SHA
 import System.IO
 import Test.QuickCheck
@@ -81,7 +80,6 @@
 
 instance Show HashInfo where
   show (HashInfo ident _)
-    | ident == algorithmIdent hashMD5    = "<MD5>"
     | ident == algorithmIdent hashSHA1   = "<SHA1>"
     | ident == algorithmIdent hashSHA224 = "<SHA224>"
     | ident == algorithmIdent hashSHA256 = "<SHA256>"
@@ -90,7 +88,7 @@
     | otherwise                          = "<unknownHASH>"
 
 instance Arbitrary HashInfo where
-  arbitrary = elements [hashMD5, hashSHA1, hashSHA224,
+  arbitrary = elements [hashSHA1, hashSHA224,
                        hashSHA256, hashSHA384, hashSHA512]
 
 newtype LargePrime = LP Integer
@@ -115,8 +113,7 @@
   show (HF s _) = "<" ++ s ++ ">"
 
 instance Arbitrary HashFun where
-  arbitrary = elements [HF "MD5" (encode . MD5.md5),
-                        HF "SHA1" (bytestringDigest . sha1),
+  arbitrary = elements [HF "SHA1" (bytestringDigest . sha1),
                         HF "SHA256" (bytestringDigest . sha256),
                         HF "SHA384" (bytestringDigest . sha384),
                         HF "SHA512" (bytestringDigest . sha512)]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/RSA-2.2.0/src/Codec/Crypto/RSA/Exceptions.hs 
new/RSA-2.3.0/src/Codec/Crypto/RSA/Exceptions.hs
--- old/RSA-2.2.0/src/Codec/Crypto/RSA/Exceptions.hs    2015-10-12 
20:52:47.000000000 +0200
+++ new/RSA-2.3.0/src/Codec/Crypto/RSA/Exceptions.hs    2017-06-08 
23:42:59.000000000 +0200
@@ -27,7 +27,7 @@
        , rsassa_pkcs1_v1_5_sign
        , rsassa_pkcs1_v1_5_verify
        -- * Hashing algorithm declarations for use in RSA functions
-       , hashMD5, hashSHA1
+       , hashSHA1
        , hashSHA224, hashSHA256, hashSHA384, hashSHA512
        -- * Other mathematical functions that are handy for implementing
        -- other RSA primitives.
@@ -259,7 +259,7 @@
 -- or 35.
 --
 -- Thus,
---   * for MD5, SHA1, and SHA256, use 512+ bit keys
+--   * for SHA1 and SHA256, use 512+ bit keys
 --   * for SHA384 and SHA512, use 1024+ bit keys
 --
 rsassa_pkcs1_v1_5_sign :: HashInfo {- ^The hash function to use -} ->
@@ -359,9 +359,6 @@
 
 -- ----------------------------------------------------------------------------
 
-hashMD5 :: HashInfo
-hashMD5 = Pure.hashMD5
-
 hashSHA1 :: HashInfo
 hashSHA1 = Pure.hashSHA1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/RSA-2.2.0/src/Codec/Crypto/RSA/Pure.hs 
new/RSA-2.3.0/src/Codec/Crypto/RSA/Pure.hs
--- old/RSA-2.2.0/src/Codec/Crypto/RSA/Pure.hs  2015-10-12 20:52:47.000000000 
+0200
+++ new/RSA-2.3.0/src/Codec/Crypto/RSA/Pure.hs  2017-06-08 23:42:59.000000000 
+0200
@@ -29,7 +29,7 @@
        , rsassa_pkcs1_v1_5_sign
        , rsassa_pkcs1_v1_5_verify
        -- * Hashing algorithm declarations for use in RSA functions
-       , hashMD5, hashSHA1
+       , hashSHA1
        , hashSHA224, hashSHA256, hashSHA384, hashSHA512
        -- * Other mathematical functions that are handy for implementing
        -- other RSA primitives.
@@ -56,7 +56,6 @@
 import Data.Bits
 import Data.ByteString.Lazy(ByteString)
 import qualified Data.ByteString.Lazy as BS
-import qualified Data.Digest.Pure.MD5 as MD5
 import Data.Digest.Pure.SHA
 import Data.Int
 import Data.Typeable
@@ -449,7 +448,7 @@
 -- or 35.
 --
 -- Thus,
---   * for MD5, SHA1, and SHA256, use 512+ bit keys
+--   * for SHA1 and SHA256, use 512+ bit keys
 --   * for SHA384 and SHA512, use 1024+ bit keys
 --
 rsassa_pkcs1_v1_5_sign :: HashInfo {- ^The hash function to use -} ->
@@ -748,13 +747,6 @@
 
 -- ----------------------------------------------------------------------------
 
-hashMD5 :: HashInfo
-hashMD5 = HashInfo {
-   algorithmIdent = BS.pack [0x30,0x20,0x30,0x0c,0x06,0x08,0x2a,0x86,0x48,
-                             0x86,0xf7,0x0d,0x02,0x05,0x05,0x00,0x04,0x10]
- , hashFunction   = encode . MD5.md5
- }
-
 hashSHA1 :: HashInfo
 hashSHA1 = HashInfo {
    algorithmIdent = BS.pack [0x30,0x21,0x30,0x09,0x06,0x05,0x2b,0x0e,0x03,


Reply via email to