[pycrypto] Blowfish breaks between versions 2.0.1 and 2.3

Eric Chamberlain eric at rf.com
Wed Dec 8 21:29:24 CST 2010


With version 2.0.1 our code works fine, but after upgrading to 2.3,

	blowfish = Blowfish.new(SECRET_KEY)

generates the following error:

	ValueError: Maximum key size is 448 bits

Our SECRET_KEYs are 74 ASCII characters long and we can't easily change them, given the amount of data encrypted with the keys.

Is it possible to bring back the 2.0.1 behavior and allow keys of arbitrary length?

Eric Chamberlain

More information about the pycrypto mailing list