pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/py-crypto



Module Name:    pkgsrc
Committed By:   gls
Date:           Sun Dec  5 17:13:09 UTC 2010

Modified Files:
        pkgsrc/security/py-crypto: Makefile PLIST distinfo
        pkgsrc/security/py-crypto/patches: patch-ab
Added Files:
        pkgsrc/security/py-crypto/patches: patch-aa patch-ac

Log Message:
Update py-crypto to version 2.3

pkgsrc changes:
 - add a patch to fix an hardcoded interpreter path
 - add a patch to actually find gmp library.
 - add CONFLICTS with py-amkCrypto, both have files in common.

upstream changes:

2.3
===
* 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.

2.2
===
* 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.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/security/py-crypto/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/py-crypto/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/py-crypto/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/security/py-crypto/patches/patch-aa \
    pkgsrc/security/py-crypto/patches/patch-ac
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/py-crypto/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index