Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | language correction and speed-upHEADmain | myheroyuki | 2023-04-25 | 2 | -18/+5 |
| | |||||
* | Replace Travis-CI with Github Actions | Sybren A. Stüvel | 2023-04-23 | 1 | -0/+32 |
| | | | | | | | | Travis-CI stopped working, switching over to Github Actions for automated unit tests. This removes the used of 'coveralls' in the CI pipeline (may come back at some point), and adds testing on pypy 3.8 and 3.9. | ||||
* | CHANGELOG: include upgrade of mypy | Sybren A. Stüvel | 2023-04-23 | 1 | -1/+1 |
| | |||||
* | rsa/pkcs1.py: Clarify functionality of sign_hash() | Moritz Fischer | 2023-04-23 | 1 | -2/+2 |
| | | | | | | | Clarify functionality that a hash is not computed, rather a precomputed (given) hash is being signed. Signed-off-by: Moritz Fischer <moritzf@google.com> | ||||
* | modified: Fixed a bug in rsa/core.py where the message should not be ↵ | Shengkai Sun | 2023-04-23 | 3 | -1/+30 |
| | | | | | | equals to the modulus modified: Added test cases in tests/test_integers.py | ||||
* | Bump mypy to 1.2.0 | Sybren A. Stüvel | 2023-04-23 | 2 | -23/+16 |
| | | | | | Mypy is an important checker, nice to keep up to date, and it's only a development-time dependency anyway. | ||||
* | Add recent changes to CHANGELOG.md | Sybren A. Stüvel | 2023-04-23 | 1 | -0/+8 |
| | |||||
* | Bumped version to 4.10-dev0 | Sybren A. Stüvel | 2023-04-23 | 3 | -5/+5 |
| | |||||
* | Upgrade pytest to resolve security issue | Sybren A. Stüvel | 2023-04-23 | 2 | -42/+26 |
| | | | | | See https://github.com/pytest-dev/py/issues/287#issuecomment-1290407715 for more info. | ||||
* | Regenerate poetry.lock | Sybren A. Stüvel | 2023-04-23 | 1 | -2/+8 |
| | | | | Just adds a few hashes, nothing more. | ||||
* | Add support for Python 3.11 | Daniel Ziegenberg | 2023-04-23 | 3 | -2/+4 |
| | | | | Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at> | ||||
* | Make `AbstractKey` an actual abstract class | Sybren A. Stüvel | 2023-04-23 | 1 | -1/+6 |
| | | | | | | | | | Decorate functions that subclassess should implement with `@abc.abstractmethod`. This is to fix a mypy error that'll show up when upgrading mypy. That upgrade will follow shortly -- I just wanted to make sure things keep working. | ||||
* | Run `poetry update` to re-lock dependencies | Sybren A. Stüvel | 2023-04-23 | 1 | -156/+116 |
| | |||||
* | Drop support for Python 3.6 | Daniel Ziegenberg | 2022-12-06 | 6 | -11/+3 |
| | | | | Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at> | ||||
* | README.md: Final publishing tweaksversion-4.9 | Sybren A. Stüvel | 2022-07-20 | 1 | -1/+3 |
| | |||||
* | Bumped version to 4.9 | Sybren A. Stüvel | 2022-07-20 | 2 | -3/+3 |
| | |||||
* | update_version.sh: include README.md in example commit command | Sybren A. Stüvel | 2022-07-20 | 1 | -1/+1 |
| | |||||
* | Mark 4.9 as released today | Sybren A. Stüvel | 2022-07-20 | 1 | -1/+1 |
| | |||||
* | Fix README.md updating part of update_version.sh | Sybren A. Stüvel | 2022-07-20 | 1 | -1/+1 |
| | | | | I committed that too soon; it works now. | ||||
* | Add instructions on how to publish via Twine | Sybren A. Stüvel | 2022-07-20 | 2 | -2/+22 |
| | | | | | Make the existing instructions more concrete by including a config file example and the actual commands to install & run Twine. | ||||
* | Upgrade Sphynx 4.3 -> 5.0.2 | Sybren A. Stüvel | 2022-07-20 | 2 | -385/+59 |
| | |||||
* | Fix #199: Sphinx warnings reference target not found | Sybren A. Stüvel | 2022-07-20 | 3 | -3/+12 |
| | | | | | | | | | | | | | | | Fix the documentation by adding referenced-but-not-included functions and some other small fixes. The only warnings left are: ``` python-rsa/rsa/key.py:docstring of rsa.key.AbstractKey.load_pkcs1:: WARNING: py:class reference target not found: rsa.key.T python-rsa/rsa/key.py:docstring of rsa.key.AbstractKey.load_pkcs1:: WARNING: py:class reference target not found: rsa.key.T ``` These are due to Sphynx not really understanding `typing` type references. Not sure how to fix those. | ||||
* | Doc: add `-n` option to Sphinx to show warnings | Sybren A. Stüvel | 2022-07-20 | 1 | -2/+1 |
| | | | | This option was shown quite useful in #199. | ||||
* | Update CHANGELOG.md | Sybren A. Stüvel | 2022-07-20 | 1 | -1/+3 |
| | |||||
* | Fix incorrect ordering of public and private keys in test case | myheroyuki | 2022-07-20 | 1 | -3/+3 |
| | |||||
* | Mark 4.9 as released today | Sybren A. Stüvel | 2022-07-15 | 1 | -1/+1 |
| | |||||
* | Document package publishing with 2FA + API keys | Sybren A. Stüvel | 2022-07-15 | 1 | -0/+12 |
| | | | | | This project has been marked as "critical" on the Python Package Index, which has some implications on the way new versions should be published. | ||||
* | Cleanup: remove trailing space from docstring | Sybren A. Stüvel | 2022-03-13 | 1 | -1/+1 |
| | |||||
* | Fix #133: Remove rsa/_compat.py | Sybren A. Stüvel | 2022-03-13 | 4 | -139/+1 |
| | | | | | There were very few functions in there, and none of them were actually used by the RSA library (just by the test code). | ||||
* | Do not include arbitrary files in wheel | Michał Górny | 2022-03-13 | 2 | -2/+6 |
| | | | | | | | | | | Fix the include key to apply to sdist format only. Otherwise, the listed files are added to the top directory of wheel as well and end up being installed in top-level site-packages directory, e.g.: * FILES:+usr/lib/python3.9/site-packages/CHANGELOG.md * FILES:+usr/lib/python3.9/site-packages/LICENSE * FILES:+usr/lib/python3.9/site-packages/README.md | ||||
* | Bumped version to 4.9-dev0 | Sybren A. Stüvel | 2022-03-13 | 2 | -3/+3 |
| | |||||
* | Fix CHANGELOG.md | Sybren A. Stüvel | 2022-03-13 | 1 | -3/+8 |
| | | | | I forgot to mark version 4.8 with "released on yyyy-mm-dd". | ||||
* | Remove overlapping slots from AbstractKey subclasses | Arie Bovenberg | 2022-03-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | `PublicKey` and `PrivateKey` both define the `n` and `e` slots, which are already present in their base class. This reduces the benefits of having slots. ```shell $ slotscheck -m rsa -v ERROR: 'rsa.key:PrivateKey' defines overlapping slots. - e (rsa.key:AbstractKey) - n (rsa.key:AbstractKey) ERROR: 'rsa.key:PublicKey' defines overlapping slots. - e (rsa.key:AbstractKey) - n (rsa.key:AbstractKey) ``` The Python docs say: > If a class defines a slot also defined in a base class, the instance > variable defined by the base class slot is inaccessible (except by > retrieving its descriptor directly from the base class). This renders > the meaning of the program undefined. | ||||
* | Fix #194: Remove debug logging from `rsa/key.py` | Sybren A. Stüvel | 2022-03-13 | 2 | -4/+2 |
| | |||||
* | add GitHub URL for PyPi | Andrii Oriekhov | 2022-02-28 | 1 | -0/+1 |
| | |||||
* | Tiny fix to Incompatible types in assignment | ikeikeikeike / ikedat / Tatsuo Ikeda | 2022-01-11 | 1 | -3/+6 |
| | |||||
* | Update Sphinx to allow docs generation on Python 3.10 | Sybren A. Stüvel | 2021-11-24 | 2 | -13/+13 |
| | |||||
* | Docs: Fix table layout | Sybren A. Stüvel | 2021-11-24 | 1 | -26/+26 |
| | |||||
* | More version bump to 4.8version-4.8 | Sybren A. Stüvel | 2021-11-24 | 1 | -2/+2 |
| | |||||
* | Fix update_version.sh to follow Black-style formatting | Sybren A. Stüvel | 2021-11-24 | 1 | -2/+2 |
| | |||||
* | Bumped version to 4.8 | Sybren A. Stüvel | 2021-11-24 | 1 | -1/+1 |
| | |||||
* | Add compat with py3.10 to changelog | Sybren A. Stüvel | 2021-11-24 | 1 | -0/+1 |
| | |||||
* | Remove obsolete file | Sybren A. Stüvel | 2021-11-24 | 1 | -43/+0 |
| | |||||
* | Fix typos | Kian-Meng, Ang | 2021-11-24 | 7 | -10/+10 |
| | |||||
* | Update dependencies for Python 3.10 compatibility | Sybren A. Stüvel | 2021-11-24 | 2 | -138/+173 |
| | |||||
* | Fix testing with Tox + Poetry | Sybren A. Stüvel | 2021-11-24 | 1 | -2/+3 |
| | | | | | Isolated builds are necessary now, and `poetry install` no longer takes `--dev --deploy` options. | ||||
* | Run 'poetry lock' to bump typed_ast to support Python 3.10 | Hugo van Kemenade | 2021-11-03 | 1 | -254/+292 |
| | |||||
* | Add support for Python 3.10 | Hugo van Kemenade | 2021-11-03 | 3 | -1/+3 |
| | |||||
* | Use Chinese Remainder Theorem when decrypting with private key | Sybren A. Stüvel | 2021-03-29 | 2 | -1/+13 |
| | | | | | | | Use the Chinese Remainder Theorem when decrypting with private key, as that makes the decryption 2-4x faster. This fixes #163. | ||||
* | Reformatting with Black | Sybren A. Stüvel | 2021-03-29 | 26 | -577/+723 |
| | | | | No functional changes. |