Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Jul 20, 2022

  1. Bumped version to 4.9

    sybrenstuvel committed Jul 20, 2022
  2. Fix README.md updating part of update_version.sh

    I committed that too soon; it works now.
    sybrenstuvel committed Jul 20, 2022
  3. 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.
    sybrenstuvel committed Jul 20, 2022
  4. 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.
    sybrenstuvel committed Jul 20, 2022
  5. Doc: add -n option to Sphinx to show warnings

    This option was shown quite useful in #199.
    sybrenstuvel committed Jul 20, 2022
  6. Update CHANGELOG.md

    sybrenstuvel committed Jul 20, 2022

Commits on Jul 15, 2022

  1. 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.
    sybrenstuvel committed Jul 15, 2022

Commits on Mar 13, 2022

  1. 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).
    sybrenstuvel committed Mar 13, 2022
  2. 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
    mgorny authored and sybrenstuvel committed Mar 13, 2022
  3. Fix CHANGELOG.md

    I forgot to mark version 4.8 with "released on yyyy-mm-dd".
    sybrenstuvel committed Mar 13, 2022
  4. 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.
    ariebovenberg authored and sybrenstuvel committed Mar 13, 2022

Commits on Feb 28, 2022

  1. add GitHub URL for PyPi

    andriyor authored and sybrenstuvel committed Feb 28, 2022

Commits on Jan 11, 2022

Commits on Mar 29, 2021

  1. 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.
    sybrenstuvel committed Mar 29, 2021
Older