Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reformatting with Black | Sybren A. Stüvel | 2021-03-29 | 1 | -1/+1 |
| | | | | No functional changes. | ||||
* | Clean up stdout when using unittest test runner | Saif Hakim | 2021-02-24 | 1 | -1/+1 |
| | | | | | | | | While pytest is the preferred test runner via tox, it looks like some folks are still running tests via `python3 setup.py test` which uses unittest and does not have good support for capturing stdout. To make using unittest slightly more friendly, we further swallow stdout / stderr for cli tests, and ensure print statements start on a newline. | ||||
* | Drop character encoding markers for Python 2.x | Andrey Semakin | 2020-06-03 | 1 | -2/+0 |
| | |||||
* | Fix BytesWarning in tests | Jon Dufresne | 2018-10-23 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | Shouldn't try to coerce bytes to a string. Instead, print the repr value (e.g. b'mybytestring'). When running tests with the Python `-b` option, fixes warnings of the form: .../python-rsa/tests/test_strings.py:34: BytesWarning: str() on a bytes instance print("\tMessage: %s" % message) .../python-rsa/tests/test_strings.py:37: BytesWarning: str() on a bytes instance print("\tEncrypted: %s" % encrypted) .../python-rsa/tests/test_strings.py:40: BytesWarning: str() on a bytes instance print("\tDecrypted: %s" % decrypted) | ||||
* | Updated documentation, mostly http -> https changes | Sybren A. Stüvel | 2016-02-05 | 1 | -1/+1 |
| | | | | | | Also: - changed http to https in the code - changed header underlines in the documentation to match the header length | ||||
* | Simplified test structure a bit, so we no longer need to set PYTHONPATH | Sybren A. Stüvel | 2016-01-27 | 1 | -1/+1 |
| | | | | | The u'' string prefix was reintroduced in Python 3.3, and since we've dropped py3.2 support we can avoid the whole py{2k,3k}constants.py mess. | ||||
* | Big refactor to become more PEP8 compliant. | Sybren A. Stüvel | 2016-01-22 | 1 | -4/+2 |
| | | | | | Mostly focused on docstrings (''' → """), indentation, empty lines, and superfluous parenthesis. | ||||
* | Removed dependency on unittest2, also merged requirements.txt for py 2.x and 3.x | Sybren A. Stüvel | 2016-01-21 | 1 | -2/+2 |
| | |||||
* | Added character encoding markers for Python 2.x | Sybren A. Stüvel | 2015-11-05 | 1 | -0/+1 |
| | |||||
* | Added per-file licenses | Roy Kokkelkoren | 2015-10-25 | 1 | -0/+15 |
| | |||||
* | Fixed unittesting with tox | Sybren A. Stüvel | 2011-11-06 | 1 | -1/+1 |
| | |||||
* | Reverts docstring quoting syntax. | Yesudeep Mangalapilly | 2011-08-24 | 1 | -1/+1 |
| | |||||
* | Parellelized testing. Caught a lot of bugs. | Yesudeep Mangalapilly | 2011-08-16 | 1 | -1/+1 |
| | |||||
* | Update tests to use unittest2. | Yesudeep Mangalapilly | 2011-08-11 | 1 | -2/+2 |
| | |||||
* | Tests are now functional (only running without syntax errors) on Python 3 too. | Yesudeep Mangalapilly | 2011-08-11 | 1 | -4/+8 |
| | |||||
* | Removed insecure code from rsa/__init__.py | Sybren A. Stüvel | 2011-07-30 | 1 | -14/+1 |
| | |||||
* | Added block padding to be able to work with leading zeroes, breaks all kind ↵ | Sybren A. Stüvel | 2011-06-20 | 1 | -4/+3 |
| | | | | of stuff | ||||
* | Added unittests | Sybren A. Stüvel | 2011-06-20 | 1 | -0/+38 |