Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typos | Kian-Meng, Ang | 2021-11-24 | 1 | -1/+1 |
| | |||||
* | Reformatting with Black | Sybren A. Stüvel | 2021-03-29 | 1 | -89/+118 |
| | | | | No functional changes. | ||||
* | Fix exception causes all over the codebase | Ram Rachum | 2021-02-24 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | The mistake is this: In some parts of the code, an exception is being caught and replaced with a more user-friendly error. In these cases the syntax `raise new_error from old_error` needs to be used. Python's exception chaining means it shows not only the traceback of the current exception, but that of the original exception (and possibly more.) This is regardless of `raise from`. The usage of `raise from` tells Python to put a more accurate message between the tracebacks. Instead of this: During handling of the above exception, another exception occurred: You'll get this: The above exception was the direct cause of the following exception: The first is inaccurate, because it signifies a bug in the exception-handling code itself, which is a separate situation than wrapping an exception. | ||||
* | Add more type hints | Andrey Semakin | 2020-06-03 | 1 | -5/+5 |
| | |||||
* | Drop character encoding markers for Python 2.x | Andrey Semakin | 2020-06-03 | 1 | -2/+0 |
| | |||||
* | Added flake8 as development dependency and fixed reported issues | Sybren A. Stüvel | 2019-08-04 | 1 | -5/+5 |
| | |||||
* | Added type annotations + some fixes to get them correct | Sybren A. Stüvel | 2019-08-04 | 1 | -18/+26 |
| | | | | | | One functional change: `CryptoOperation.read_infile()` now reads bytes from `sys.stdin` instead of text. This is necessary to be consistent with the rest of the code, which all deals with bytes. | ||||
* | Added mypy for static type checking | Sybren A. Stüvel | 2019-08-04 | 1 | -5/+5 |
| | |||||
* | Removed compatibility code for Python 2.7 and 3.4 | Sybren A. Stüvel | 2019-08-04 | 1 | -4/+2 |
| | |||||
* | Create PY2 constant to simplify compatibility decisions (#82) | Michael Manganiello | 2017-01-15 | 1 | -10/+2 |
| | | | It's about time to get this merged, thanks again! | ||||
* | More CLI tests & clearer bytes stuff | Sybren A. Stüvel | 2016-03-17 | 1 | -5/+9 |
| | | | | | Ensuring that bytes are written correctly on all supported Python versions, including when writing to stdout. | ||||
* | Ensuring that PEM output is always in bytes. | Sybren A. Stüvel | 2016-03-17 | 1 | -0/+4 |
| | | | | | This may break some applications. However, it does make the RSA library easier to use on different Python versions. | ||||
* | Removed deprecated functionality. | Sybren A. Stüvel | 2016-03-17 | 1 | -97/+2 |
| | | | | | | | | | | | The following modules have been removed: - rsa._version133 - rsa._version200 - rsa.bigfile - rsa.varblock The encrypt/decrypt-bigfile CLI commands have also been removed. | ||||
* | 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 | ||||
* | Big refactor to become more PEP8 compliant. | Sybren A. Stüvel | 2016-01-22 | 1 | -66/+70 |
| | | | | | Mostly focused on docstrings (''' → """), indentation, empty lines, and superfluous parenthesis. | ||||
* | Fixed typo in pyrsa-verify help message | Sybren A. Stüvel | 2014-02-22 | 1 | -1/+1 |
| | |||||
* | Fixed CLI functions for Python 3.x | Sybren A. Stüvel | 2012-06-18 | 1 | -21/+21 |
| | |||||
* | Reverts docstring quoting syntax. | Yesudeep Mangalapilly | 2011-08-24 | 1 | -29/+29 |
| | |||||
* | Parellelized testing. Caught a lot of bugs. | Yesudeep Mangalapilly | 2011-08-16 | 1 | -29/+31 |
| | |||||
* | More documentation about key size and OpenSSL compatibility | Sybren A. Stüvel | 2011-08-03 | 1 | -3/+3 |
| | |||||
* | More consistent options for pyrsa-keygen | Sybren A. Stüvel | 2011-08-03 | 1 | -4/+4 |
| | |||||
* | Added pyrsa-encrypt/decrypt-bigfile commands | Sybren A. Stüvel | 2011-08-01 | 1 | -0/+90 |
| | |||||
* | Added verify and sign commands, fixed some bugs in other commands | Sybren A. Stüvel | 2011-07-31 | 1 | -18/+75 |
| | |||||
* | Added encrypt and decrypt CLI commands | Sybren A. Stüvel | 2011-07-31 | 1 | -1/+148 |
| | |||||
* | Slightly more doc | Sybren A. Stüvel | 2011-07-31 | 1 | -0/+4 |
| | |||||
* | Added pyrsa-keygen CLI script | Sybren A. Stüvel | 2011-07-31 | 1 | -0/+79 |