From dlitz at dlitz.net Tue Aug 3 00:00:13 2010 From: dlitz at dlitz.net (Dwayne C. Litzenberger) Date: Mon, 2 Aug 2010 18:00:13 -0400 Subject: [python-crypto] ANN: PyCrypto 2.2 released Message-ID: <20100802220012.GA30375@rivest.dlitz.net> PyCrypto 2.2 has been released. This release remains compatible with Python 2.1 through 2.6. (Python 3.x is not yet supported.) A C99 compiler may be required. You can download this release from http://www.pycrypto.org/, you can ask for it in the cheeseshop, and it has the following SHA256 sums: 9219449bc85ab4f4ff61fc83b0cbe0ec23d46943caab3d5413c6ba52da6f922c *pycrypto-2.2.tar.gz 0168719105999133374f995bdc9fa6a1be2de65b2ae359eb8e5ef9f433f66af5 *pycrypto-2.2.tar.gz.asc Please test it and post your experiences to the PyCrypto mailing list: pycrypto at lists.dlitz.net and/or file bug reports on Launchpad: https://bugs.launchpad.net/pycrypto Here is the changelog: - Deprecated Crypto.Util.number.getRandomNumber(), which had confusing semantics. It's been replaced by getRandomNBitInteger and getRandomInteger. (Thanks: Lorenz Quack) - Better isPrime() and getPrime() implementations that do a real Rabin-Miller probabilistic primality test (not the phony test we did before with fixed bases). (Thanks: Lorenz Quack) - getStrongPrime() implementation for generating RSA primes. (Thanks: Lorenz Quack) - Support for importing and exporting RSA keys in DER and PEM format. (Thanks: Legrandin) - Fix PyCrypto when floor division (python -Qnew) is enabled. - When building using gcc, use -std=c99 for compilation. This should fix building on FreeBSD and NetBSD. Thanks to everyone who helped make this release possible! Cheers, - Dwayne -- Dwayne C. Litzenberger OpenPGP: 19E1 1FE8 B3CF F273 ED17 4A24 928C EC13 39C2 5CF7 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 221 bytes Desc: Digital signature URL: From arbitraryuser at gmail.com Tue Aug 24 08:06:58 2010 From: arbitraryuser at gmail.com (Jonathan Endersby) Date: Tue, 24 Aug 2010 08:06:58 +0200 Subject: [python-crypto] HSM Emulators and PKCS11 Message-ID: Hi I've been looking around the internet for a simple HSM emulator that speaks PKCS11 so that I can dev against it in the absence of a real HSM... So far my search has only turned up a system by Ultimaco that runs on windows and seems quite complicated to get set up. Does anyone have any pointers to something more pythonic and perhaps simpler to get up and running. Regards J. -- Jonathan Endersby From dlitz at dlitz.net Fri Aug 27 07:06:11 2010 From: dlitz at dlitz.net (Dwayne C. Litzenberger) Date: Fri, 27 Aug 2010 01:06:11 -0400 Subject: [python-crypto] ANN: PyCrypto 2.3 released Message-ID: <20100827050611.GB4397@rivest.dlitz.net> PyCrypto 2.3 has been released. This is a minor bugfix release. This release remains compatible with Python 2.1 through 2.7. (Python 3.x is not yet supported.) A C99 compiler may be required. You can download this release from http://www.pycrypto.org/, you can ask for it in the cheeseshop, and it has the following SHA256 sums: 495f68eb37150ead7c778671311975edcc177845a7f019e4e96011678b30666f *pycrypto-2.3.tar.gz 2cf590e5a96d432a5a13134b558dd3c39ca8949b423f84dbd1e6e7729b9d94df *pycrypto-2.3.tar.gz.asc Please test it and post your experiences to the PyCrypto mailing list: pycrypto at lists.dlitz.net and/or file bug reports on Launchpad: https://bugs.launchpad.net/pycrypto Here is the changelog: - Fix NameError when attempting to use deprecated getRandomNumber() function. - _slowmath: Compute RSA u parameter when it's not given to RSA.construct. This makes _slowmath behave the same as _fastmath in this regard. - Make RSA.generate raise a more user-friendly exception message when the user tries to generate a bogus-length key. Thanks to everyone who helped make this release possible! Cheers, - Dwayne -- Dwayne C. Litzenberger OpenPGP: 19E1 1FE8 B3CF F273 ED17 4A24 928C EC13 39C2 5CF7 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 221 bytes Desc: Digital signature URL: From dlitz at dlitz.net Sat Aug 28 05:02:55 2010 From: dlitz at dlitz.net (Dwayne C. Litzenberger) Date: Fri, 27 Aug 2010 23:02:55 -0400 Subject: [python-crypto] Fixed PyCrypto 2.3 tarball & SHA256-sums In-Reply-To: <20100827050611.GB4397@rivest.dlitz.net> References: <20100827050611.GB4397@rivest.dlitz.net> Message-ID: <20100828030255.GA19460@rivest.dlitz.net> On Fri, Aug 27, 2010 at 01:06:11AM -0400, Dwayne C. Litzenberger wrote: >495f68... *pycrypto-2.3.tar.gz >2cf590... *pycrypto-2.3.tar.gz.asc Correction: The files in the previous tarball didn't have the directory prefix "pycrypto-2.3/", so unpacking the tarball would dump all the files into the current directory. I've re-packaged the tarball from the same commit in the git repository. The updated tarballs have the following SHA256 sums: 4f11e85fbcf13960373650fc2dae8f088f9b001f07fb6d3efb2fcb5334987182 *pycrypto-2.3.tar.gz 753637dc906b45a03b2562dc7f77ac63082ade80fe4be075e483daa4613a6d99 *pycrypto-2.3.tar.gz.asc My apologies to any early-adopters who were inconvenienced by this. Cheers, - Dwayne -- Dwayne C. Litzenberger OpenPGP: 19E1 1FE8 B3CF F273 ED17 4A24 928C EC13 39C2 5CF7 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 221 bytes Desc: Digital signature URL: