-
The generate function in the PythonRSAKey class uses the getRandomBits function ( p = getRandomPrime(bits/2, False). By dividing with "/" (true division) this will give a float in future version of python (tested with from __future__ import division) instead of an int and the getRandomPrime will throw an error. Using "//" (floor division) will work.
I found this bug while using TLS Lite in...
2008-07-25 12:39:18 UTC by tiftof
-
Added a patch which changes how RSA keys are generated:
A new optional argument, e, is added to the key generation functions to allow the caller to suggest an exponent different from the default value of 3. A popular choice is 65537. Note that whether this user-supplied exponent is actually used depends upon the crypto implementation.
When an RSA key is being generated with the pure...
2008-03-31 20:06:30 UTC by dmeranda
-
When generating RSA keys, the caller should be able to select the exponent (e) to use rather than always using the hardcoded exponent value of 3.
Also when the pure-python key generation is invoked, it should be more careful about picking good primes p and q, such as recommended by PKCS#1 2.1.
2008-03-31 19:54:26 UTC by dmeranda
-
Attaching a patch file against version 0.3.8 which makes use of the egd module, available on PyPI (easy_install).
File Added: tlslite-0.3.8-egd-random.patch.
2008-03-31 19:48:43 UTC by dmeranda
-
The random number generation should be able to make use of an EGD/prngd entropy source for Unix-like systems that do not support /dev/urandom.
2008-03-31 19:45:27 UTC by dmeranda
-
prngName for CryptoAPI is always set to "None" due to an indentation error. tls.py version 0.3.8 on Windows outputs "RNG: None".
2007-10-18 14:15:03 UTC by plastikplu
-
With python 2.5 I get an error when using XMLRPCTransport:
XMLRPCTransport instance has no attribute '_use_datetime'
This patch fixes this issue.
2007-10-09 09:44:53 UTC by nobody
-
- Added support for poplib, imaplib, and smtplib
- Added python 2.4 windows installer
- Fixed occassional timing problems with test suite.
2005-02-22 04:43:26 UTC by trevp
-
trevp committed patchset 15 of module tlslite to the TLS Lite CVS repository, changing 6 files.
2005-02-22 04:22:34 UTC by trevp
-
trevp committed patchset 14 of module tlslite to the TLS Lite CVS repository, changing 1 files.
2005-02-22 04:15:38 UTC by trevp