[Pkg-haskell-maintainers] Bug#725004: Bug#725004: big endian bug

Joachim Breitner nomeata at debian.org
Wed Oct 2 08:40:28 UTC 2013


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
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20131002/38fc55a0/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list