summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Updated key loading example and included it as unit test, fixes bug #31Sybren A. St?vel2016-01-182-0/+17
|
* No longer using obsolete base64 interface, fixes bug #30Sybren A. St?vel2016-01-181-2/+2
|
* Removed dependency on unittest2, also merged requirements.txt for py 2.x and 3.xSybren A. St?vel2016-01-149-22/+22
|
* Added character encoding markers for Python 2.xSybren A. St?vel2015-11-056-0/+6
|
* Added per-file licensesRoy Kokkelkoren2015-10-2513-2/+188
|
* rsa.pkcs1.verify() should return True when successfulTim Heckman2012-10-172-2/+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
* Tweaked unittests for Python 3.xSybren A. St?vel2012-06-181-12/+0
|
* Fixed unittesting with toxSybren A. St?vel2011-11-061-1/+1
|
* Reverts docstring quoting syntax.Yesudeep Mangalapilly2011-08-246-30/+30
|
* Reorganizes tests.Yesudeep Mangalapilly2011-08-171-4/+3
|
* Fixes a silly error.Yesudeep Mangalapilly2011-08-171-2/+11
|
* Moves incompatible doctests to unit test modules.Yesudeep Mangalapilly2011-08-162-0/+26
|
* Adds common includes and tests.Yesudeep Mangalapilly2011-08-161-0/+3
|
* Parellelized testing. Caught a lot of bugs.Yesudeep Mangalapilly2011-08-167-30/+80
|
* Adds verification tests for int2bytes and bytes2intYesudeep Mangalapilly2011-08-121-10/+45
| | | | | | | | | * 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-1/+9
| | | | | | | | | | | | | | | | | | | | | | * 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
|
* Removes unnecessary code that I had added.Yesudeep Mangalapilly2011-08-111-6/+0
|
* Porting to Python 3 complete. All tests except pyasn1 stuff pass.Yesudeep Mangalapilly2011-08-113-18/+29
|
* Update tests to use unittest2.Yesudeep Mangalapilly2011-08-116-28/+30
|
* Tests are now functional (only running without syntax errors) on Python 3 too.Yesudeep Mangalapilly2011-08-1110-27/+52
|
* Compatibility wrapper module to make rsa work with various versions of Python.Yesudeep Mangalapilly2011-08-111-0/+17
|
* Added unittest for large file signing/verifyingSybren A. St?vel2011-07-311-1/+20
|
* Made hashing efficient for large filesSybren A. St?vel2011-07-312-37/+45
|
* Added encrypting and decrypting of large filesSybren A. St?vel2011-07-311-0/+31
|
* Added yield_fixedblockSybren A. St?vel2011-07-311-0/+7
|
* Added reading of varblocksSybren A. St?vel2011-07-301-0/+10
|
* Added start of blocks module (varint impl)Sybren A. St?vel2011-07-301-0/+58
|
* Removed insecure code from rsa/__init__.pySybren A. St?vel2011-07-302-19/+6
|
* Ignore fields in PEM-encoded filesSybren A. St?vel2011-07-301-0/+4
|
* Specify format (PEM/DER) in capitalsSybren A. St?vel2011-07-241-8/+8
|
* Added simpler save/load functionsSybren A. St?vel2011-07-241-8/+8
|
* Added saving and loading public keys in PKCS#1 format (PEM+DER)Sybren A. St?vel2011-07-241-0/+54
|
* Moved key load/save to PrivateKey classSybren A. St?vel2011-07-211-4/+4
|
* Added support for saving private keys in DER and PEM formatSybren A. St?vel2011-07-201-0/+21
|
* Added loading of DER and PEM encoded private keysSybren A. St?vel2011-07-191-0/+47
|
* Added PKCS#1 signatures and verification of signaturesSybren A. St?vel2011-07-101-13/+45
|
* Added test for randomnessSybren A. St?vel2011-07-101-0/+11
|
* Added unittest for PKCS#1 decoding failuresSybren A. St?vel2011-07-101-1/+11
|
* Replaced the binary test with a test of the PKCS1 module.Sybren A. St?vel2011-07-102-37/+38
|
* Added block padding to be able to work with leading zeroes, breaks all kind ↵Sybren A. St?vel2011-06-202-4/+40
| | | | of stuff
* Added unittestsSybren A. St?vel2011-06-202-0/+74