Share

TLS Lite

Code

Programming Languages: Python

License: Public Domain

Repositories

browse code, statistics, last commit on 2005-02-22 cvs -d:pserver:anonymous@tlslite.cvs.sourceforge.net:/cvsroot/tlslite login

cvs -z3 -d:pserver:anonymous@tlslite.cvs.sourceforge.net:/cvsroot/tlslite co -P modulename

Show:

What's happening?

  • calling "getRandomPrime(bits/2, False)" breaks in future

    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

  • Comment: Pick RSA key generation exponent, better prime selection

    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

  • Pick RSA key generation exponent, better prime selection

    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

  • Comment: Use EGD/prngd as an random number entropy source

    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

  • Use EGD/prngd as an random number entropy source

    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

  • PRNG name for CryptoAPI always set to None

    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

  • patch for XMLRPCTransport with python 2.5.x

    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

  • 0.3.8 released

    - 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

  • TLS Lite

    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

  • TLS Lite

    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

Our Numbers