summaryrefslogtreecommitdiff
path: root/rsa
Commit message (Collapse)AuthorAgeFilesLines
* Merged in adamantike/python-rsa (pull request #20)HEADmasterSybren St?vel2016-01-211-3/+11
|\ | | | | | | Primes regeneration in RSA keys generation
| * Primes regeneration in RSA keys generationMichael Manganiello2016-01-201-3/+12
| |
* | Merged in adamantike/python-rsa (pull request #19)Sybren St?vel2016-01-211-2/+4
|\ \ | | | | | | | | | Simplified calculation of GCD
| * | Corrected accurate mode of 'newkeys' functionMichael Manganiello2016-01-201-2/+4
| |/
* | Simplified calculation of GCDMichael Manganiello2016-01-201-3/+3
|/
* No longer using obsolete base64 interface, fixes bug #30Sybren A. St?vel2016-01-181-2/+2
|
* Merged in fale/python-rsa (pull request #15)Sybren St?vel2016-01-181-2/+2
|\ | | | | | | Fixed import error in old version code
| * Bumped version to 3.3version-3.3Sybren A. St?vel2016-01-131-2/+2
| |
* | Only catch ImportErrorFabio Alessandro Locati2016-01-181-1/+1
| |
* | Fix FTBFS import errorFabio Alessandro Locati2016-01-131-1/+5
|/
* Fix BB'06 attack in verify() by switching from parsing to comparisonFilippo Valsorda2015-12-161-38/+20
|
* Bumped version to 3.2.3version-3.2.3Sybren A. St?vel2015-11-051-1/+1
|
* Added character encoding markers for Python 2.xSybren A. St?vel2015-11-053-0/+3
|
* Bumped version to 3.2.2 due to an issue with pypiversion-3.2.2Sybren A. St?vel2015-11-051-1/+1
|
* Bumped version to 3.2.1version-3.2.1Sybren A. St?vel2015-11-051-2/+2
|
* Added per-file licensesRoy Kokkelkoren2015-10-253-0/+45
|
* Bumped version to 3.2version-3.2Sybren A. St?vel2015-07-291-2/+2
|
* Bumped version to 3.1.4version-3.1.4Sybren A. St?vel2014-02-221-2/+2
|
* Fixed typo in pyrsa-verify help messageSybren A. St?vel2014-02-221-1/+1
|
* Fixed compatibilty of pyrsa-priv2pub with Python 3Sybren A. St?vel2014-02-221-13/+15
|
* Bumped version to 3.1.3version-3.1.3Sybren A. St?vel2014-02-021-2/+2
|
* Bumped version to 3.1.2version-3.1.2Sybren A. St?vel2013-09-151-2/+2
|
* rsa.pkcs1.verify() should return True when successfulTim Heckman2012-10-171-0/+2
| | | | | | | | | | | | | | | - when verification passes verify() will return True, instead of None. If verification fails the function will still raise a rsa.pkcs1.VerificationError for legacy purposes. - update the docs to note that the verify() function returns True when successful - write unit tests to verify this new behavior This commit passes all build tests: Ran 44 tests in 1.217s OK
* Explicitly cast ASN.1 integer type to Python intSybren A. St?vel2012-10-121-1/+1
|
* Added support for loading public keys from OpenSSLSybren A. St?vel2012-10-112-18/+84
|
* Fixed some more Py32 incompatibilitiesversion-3.1.1Sybren A. St?vel2012-06-182-5/+7
|
* Fixed CLI functions for Python 3.xSybren A. St?vel2012-06-181-21/+21
|
* Added version 3.1.1 to changelogSybren A. St?vel2012-06-181-1/+1
|
* Fixed doctestsSybren A. St?vel2012-06-182-2/+2
|
* Bumped version to 3.1Sybren A. St?vel2012-06-171-3/+3
|
* Fixes formatting indentation issue to revert to PEP8 style.Yesudeep Mangalapilly2012-03-021-77/+76
|
* Fix buffer bytestring issue with Python 3.2Yesudeep Mangalapilly2012-03-021-78/+83
|
* Reverts docstring quoting syntax.Yesudeep Mangalapilly2011-08-2413-167/+170
|
* Adds back older doctests for _int2bytes for compliance.Yesudeep Mangalapilly2011-08-241-0/+17
|
* Allow block_size=None in _int2bytes.Yesudeep Mangalapilly2011-08-241-4/+5
|
* Allow fill_size=None, chunk_size=None in int2bytes.Yesudeep Mangalapilly2011-08-241-4/+4
|
* Adds the doctests for bit_size back into the function docstrings.Yesudeep Mangalapilly2011-08-241-0/+23
|
* Fixes a silly error.Yesudeep Mangalapilly2011-08-171-6/+6
|
* Moves incompatible doctests to unit test modules.Yesudeep Mangalapilly2011-08-163-26/+6
|
* Adds common includes and tests.Yesudeep Mangalapilly2011-08-161-0/+5
|
* Fixes bad zero-prefix padding bug in older _int2bytes to pass all tests.Yesudeep Mangalapilly2011-08-161-8/+10
|
* Parellelized testing. Caught a lot of bugs.Yesudeep Mangalapilly2011-08-1614-171/+133
|
* Much cleaner implementation of int2bytes. No loss in speed.Yesudeep Mangalapilly2011-08-142-58/+71
|
* Fixes doctest.Yesudeep Mangalapilly2011-08-131-1/+1
|
* Measure twice, cut once.Yesudeep Mangalapilly2011-08-131-3/+8
|
* Finally tracked down the bug to incorrect padding. Now all tests should passYesudeep Mangalapilly2011-08-131-14/+3
| | | | for the new int2bytes.
* Adds a much faster bit_size implementation causing an overall speed up.Yesudeep Mangalapilly2011-08-121-1/+43
| | | | | * Note that the machine aligned integer_to_bytes is still faster than the older version.
* Completes machine-aligned int2bytes implementation.Yesudeep Mangalapilly2011-08-121-0/+9
| | | | | | | | | * This implementation is generally in microseconds instead of milliseconds, which makes it 20x-40x faster than the older implementation. Tests for all of the behavior of the function have been added to tests/test_transform.py. Hope this helps make python-rsa even better. =)
* Adds verification tests for int2bytes and bytes2intYesudeep Mangalapilly2011-08-122-48/+130
| | | | | | | | | * There is a bug in the older int2bytes implementation. I've raised an issue on bitbucket for that already. #11 The pkcs1 file verification test fails if the behavior for int2bytes is corrected.
* Adds speed tests for int2bytes and old_int2bytes.Yesudeep Mangalapilly2011-08-111-6/+65
| | | | | | | | | | | | | | | | | | | | | | * In the following tests, the first speed test for each version of Python checked is the new implementation and the second is the old implementation. $ ./speed.sh int2bytes speed test python2.5 1000 loops, best of 3: 315 usec per loop 100 loops, best of 3: 4.87 msec per loop python2.6 10000 loops, best of 3: 170 usec per loop 100 loops, best of 3: 3.34 msec per loop python2.7 10000 loops, best of 3: 169 usec per loop 100 loops, best of 3: 2.8 msec per loop python3.2 10000 loops, best of 3: 169 usec per loop 100 loops, best of 3: 3.16 msec per loop