[Haskell-cafe] [ANNOUNCE] skein-0.1: Skein, a family of cryptographic hash functions. Includes Skein-MAC as well.

Felipe Almeida Lessa felipe.lessa at gmail.com
Wed Sep 21 20:53:34 CEST 2011


On Wed, Sep 21, 2011 at 2:27 PM, Thomas DuBuisson
<thomas.dubuisson at gmail.com> wrote:
>>  The skein
>> package comes with the "golden" KATs sent by the Skein team to NIST
>
> Great! Care to add that to the crypto-api test code?

I don't really understand how the testing workflow works on the
crypto-api package, but I confess that I didn't try hard enough to
understand.  I don't like the use of the test flag to conditionally
expose Test.* modules.  Given that we can't have a flag constraint in
"build-depends", using those modules would basically break the skein
package test suite by default.  They would break even in my own box,
since crypto-api is installed system-wide without the test flag.

So, could we split those Test.* modules into a new package like
crypto-api-tests?  Then I could have in my .cabal:

Library
  Build-depends: ... crypto-api ...

Test-suite runtests
  Build-depends: ... crypto-api, crypto-api-tests ...

and everything would beautifully work =).

Cheers,

-- 
Felipe.



More information about the Haskell-Cafe mailing list