diff options
author | Dwayne C. Litzenberger <dlitz@dlitz.net> | 2009-10-08 20:15:47 -0400 |
---|---|---|
committer | Dwayne C. Litzenberger <dlitz@dlitz.net> | 2009-10-08 20:30:49 -0400 |
commit | b728ce537fb50dbe9cb657ba6b42571aed54a621 (patch) | |
tree | 85fda017b0a8247f700d295ca07256dc00382f19 /ChangeLog | |
parent | d4f1039754e6f25b703c6a824db21bc66ef57a07 (diff) | |
download | pycrypto-b728ce537fb50dbe9cb657ba6b42571aed54a621.tar.gz |
Update ChangeLog
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -1,3 +1,35 @@ +2.1.0alpha2 +=========== + + * Modified isPrime() to release the global interpreter lock while + performing computations. (patch from Lorenz Quack) + + * API changes: + + - Removed RandomPoolCompat and made Crypto.Util.randpool.RandomPool + a wrapper around Crypto.Random that emits a DeprecationWarning. + This is to discourage developers from attempting to provide + backwards compatibility for systems where there are NO strong + entropy sources available. + + - Added Crypto.Random.get_random_bytes(). This should allow people + to use something like this if they want backwards-compatibility: + + try: + from Crypto.Random import get_random_bytes + except ImportError: + try: + from os import urandom as get_random_bytes + except ImportError: + get_random_bytes = open("/dev/urandom", "rb").read + + - Implemented __ne__() on pubkey, which fixes the following broken + behaviour: + >>> pk.publickey() == pk.publickey() + True + >>> pk.publickey() != pk.publickey() + True + (patch from Lorenz Quack) 2.1.0alpha1 =========== |