Hi, Am Mittwoch, den 02.10.2013, 01:37 -0400 schrieb Joey Hess: > I belive all failed arches are big endian. > > The Crypto/Cipher/TripleDES.hs which is failing a roundtrip decrypt . encrypt > test is littered with code that assumes little endian: > > word64ToBs :: Word64 -> B.ByteString > word64ToBs = runPut . putWord64le > > This has been extensively rewritten in the 0.6.1 release, and I believe > fixed for big endian. haskell-cipher-aes would need to be upgraded > to update to that version, but I see no other obstacles..
thanks for checking. The upgrade would pull in a few other packges, but seems to be possible (assuming sensible build-depends by upstream): $ darcs diff -p '0.6.1' --diff-opts "-u0"|grep -v @ * Updates for cryptocipher 0.6.1 diff -rN -u -u0 old-tools/all-packages/packages.txt new-tools/all-packages/packages.txt --- old-tools/all-packages/packages.txt 2013-10-02 10:36:44.580748487 +0200 +++ new-tools/all-packages/packages.txt 2013-10-02 10:36:44.584748487 +0200 -cipher-aes 0.1.8 +cipher-aes 0.2.5 -cprng-aes 0.3.4 +cprng-aes 0.5.2 -cryptocipher 0.5.2 +cryptocipher 0.6.1 -crypto-cipher-types 0.0.5 +crypto-cipher-types 0.0.6 -crypto-numbers 0.1.3 -crypto-pubkey 0.1.4 +crypto-numbers 0.2.1 +crypto-pubkey 0.2.1 -tls-extra 0.6.3 +tls-extra 0.6.5 Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata
signature.asc
Description: This is a digitally signed message part