summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* rsa.pkcs1.verify() should return True when successfulTim Heckman2012-10-174-3/+6
| | | | | | | | | | | | | | | - 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-113-28/+97
|
* Added signature for changeset 874bb280b3c3Sybren A. St?vel2012-06-181-0/+1
|
* Added tag version-3.1.1 for changeset d4457be50d60Sybren A. St?vel2012-06-180-0/+0
|
* Fixed some more Py32 incompatibilitiesversion-3.1.1Sybren A. St?vel2012-06-182-5/+7
|
* Updated tox dependenciesSybren A. St?vel2012-06-181-5/+6
|
* Updated installation instructionsSybren A. St?vel2012-06-184-10/+30
|
* Require pyasn1 0.1.3Sybren A. St?vel2012-06-181-1/+1
|
* Fixed CLI functions for Python 3.xSybren A. St?vel2012-06-181-21/+21
|
* Updated changelogSybren A. St?vel2012-06-181-0/+1
|
* Tweaked unittests for Python 3.xSybren A. St?vel2012-06-183-13/+1
|
* Added version 3.1.1 to changelogSybren A. St?vel2012-06-182-1/+6
|
* Fixed doctestsSybren A. St?vel2012-06-182-2/+2
|
* Added tag version-3.1 for changeset 4caf721a5fb5Sybren A. St?vel2012-06-170-0/+0
|
* Added Tox to dev requirementsversion-3.1Sybren A. St?vel2012-06-171-0/+1
|
* Updated changelogSybren A. St?vel2012-06-171-1/+9
|
* 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
|
* Fixed unittesting with toxSybren A. St?vel2011-11-061-1/+1
|
* We require a newer version of distributeSybren A. St?vel2011-11-061-1/+1
|
* Reverts docstring quoting syntax.Yesudeep Mangalapilly2011-08-2419-197/+200
|
* 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
|
* pypy 1.6 (nightly) is now faster than python2.7. Re-enables tests.Yesudeep Mangalapilly2011-08-241-1/+2
| | | | | * You can obtain the latest pypy nightly from: http://buildbot.pypy.org/nightly/trunk/
* Reorganizes tests.Yesudeep Mangalapilly2011-08-171-4/+3
|
* Fixes a silly error.Yesudeep Mangalapilly2011-08-173-9/+18
|
* Increase test verbosity.Yesudeep Mangalapilly2011-08-163-1/+3
|
* Moves incompatible doctests to unit test modules.Yesudeep Mangalapilly2011-08-166-27/+33
|
* Adds common includes and tests.Yesudeep Mangalapilly2011-08-162-0/+8
|
* 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-1623-208/+235
|
* 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 speed tests for bit_size.Yesudeep Mangalapilly2011-08-121-0/+17
| | | | | | * bit_size is at least 28x faster than the original implementation and generally fares in and around 10 microseconds where as the older one does around 1.8 milliseconds.
* 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-122-0/+12
| | | | | | | | | * 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-124-63/+181
| | | | | | | | | * 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-113-7/+89
| | | | | | | | | | | | | | | | | | | | | | * 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
* Adds tests for int2bytes.Yesudeep Mangalapilly2011-08-111-0/+24
|
* Even better. Discard prefix zero bytes if block size is not specified.Yesudeep Mangalapilly2011-08-111-22/+29
|
* Reduces more calculation in int2bytes.Yesudeep Mangalapilly2011-08-111-10/+17
|
* Adds faster ``struct.pack``-based int2bytes implementation.Yesudeep Mangalapilly2011-08-111-11/+12
|
* Removes unnecessary code that I had added.Yesudeep Mangalapilly2011-08-111-6/+0
|
* Re-implements byte_size using divmod avoiding floating-point calculations.Yesudeep Mangalapilly2011-08-111-2/+7
|