main
Name already in use
Commits on Jul 20, 2022
-
-
-
-
Fix README.md updating part of update_version.sh
I committed that too soon; it works now.
-
Add instructions on how to publish via Twine
Make the existing instructions more concrete by including a config file example and the actual commands to install & run Twine.
-
-
Fix #199: Sphinx warnings reference target not found
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 warningsThis option was shown quite useful in #199.
-
Commits on Jul 15, 2022
-
-
Document package publishing with 2FA + API keys
This project has been marked as "critical" on the Python Package Index, which has some implications on the way new versions should be published.
Commits on Mar 13, 2022
-
-
Fix #133: Remove rsa/_compat.py
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
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
-
-
I forgot to mark version 4.8 with "released on yyyy-mm-dd".
-
Remove overlapping slots from AbstractKey subclasses
`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.
-
Commits on Feb 28, 2022
Commits on Jan 11, 2022
Commits on Nov 24, 2021
-
-
-
-
-
-
-
-
-
-
Isolated builds are necessary now, and `poetry install` no longer takes `--dev --deploy` options.
Commits on Nov 3, 2021
Commits on Mar 29, 2021
-
Use Chinese Remainder Theorem when decrypting with private key
Use the Chinese Remainder Theorem when decrypting with private key, as that makes the decryption 2-4x faster. This fixes #163.