Commit Graph

24 Commits

Author SHA256 Message Date
ef7d3e8984 Accepting request 1081606 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081606
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=45
2023-04-21 13:36:54 +00:00
e0d80ca51b - update to 4.9:
* Remove debug logging from `rsa/key.py`
  * Remove overlapping slots in `PrivateKey` and `PublicKey`.
  * Do not include CHANGELOG/LICENSE/README.md in wheel
  * Fixed Key Generation Unittest: Public and Private keys are assigned the wrong way around

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=43
2022-07-24 08:46:02 +00:00
e0cad910d1 - update to 4.8:
- Switch to [Poetry](https://python-poetry.org/) for dependency and release management.
  - Compatibility with Python 3.10.
  - Chain exceptions using `raise new_exception from old_exception`
  - Added marker file for PEP 561. This will allow type checking tools in dependent projects
  - Use the Chinese Remainder Theorem when decrypting with a private key. This
    makes decryption 2-4x faster

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=41
2022-06-25 20:55:14 +00:00
51d2b31f45 Accepting request 923282 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/923282
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=40
2021-11-06 10:27:02 +00:00
ff9f1ad467 - update to 4.7.2:
* Fix picking/unpickling issue introduced in 4.7
  * Fix threading issue introduced in 4.7

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=38
2021-03-02 00:32:08 +00:00
afdc2fc322 - update to 4.7:
* CVE-2020-25658 - Bleichenbacher-style timing oracle in PKCS#1 v1.5 decryption code
  * Add padding length check as described by PKCS#1 v1.5
  * Reuse of blinding factors to speed up blinding operations.
  * Declare & test support for Python 3.9

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=36
2021-01-28 23:03:56 +00:00
Markéta Machová
5a3b85e73f Accepting request 854235 from home:bnavigator:branches:devel:languages:python
- Remove mypy test requirement. The test calls mypy via its API.
  But mypy as importable module is only available for the default
  python3 flavor. For packaging, we don't need to run the static
  type checker at all.
- Remove mock requirement.

OBS-URL: https://build.opensuse.org/request/show/854235
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=34
2020-12-09 12:02:50 +00:00
Tomáš Chvátal
916f62aa6a Accepting request 827113 from home:jayvdb:py-submit
Replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/827113
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=32
2020-08-17 06:16:23 +00:00
06f1634199 - update to v 4.6.0 (bsc#1172389)
* Choose blinding factor relatively prime to N. Thanks Christian Heimes for pointing this out.
  * Reject cyphertexts (when decrypting) and signatures (when verifying) that have been modified by prepending zero bytes. This resolves CVE-2020-13757. Thanks Carnil for pointing this out.
  * Rolled back the switch to Poetry, and reverted back to using Pipenv + setup.py for dependency management. There apparently is an issue no-binary installs of packages build with Poetry. This fixes #148
Limited SHA3 support to those Python versions (3.6+) that support it natively. The third-party library that adds support for this to Python 3.5 is a binary package, and thus breaks the pure-Python nature of Python-RSA. This should fix #147.
  * Added support for Python 3.8.
  * Dropped support for Python 2 and 3.4.
  * Added type annotations to the source code. This will make Python-RSA easier to use in your IDE, and allows better type checking.
  * Added static type checking via MyPy.
  * Fix #129 Installing from source gives UnicodeDecodeError.
  * Switched to using Poetry for package management.
  * Choose blinding factor relatively prime to N. Thanks Christian Heimes for pointing this out.
  * Reject cyphertexts (when decrypting) and signatures (when verifying) that
  * have been modified by prepending zero bytes. This resolves CVE-2020-13757.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=30
2020-06-23 15:43:48 +00:00
f8411b6d59 - fix build on older distributions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=28
2019-03-23 18:54:39 +00:00
dd2db1941b Accepting request 676668 from home:jayvdb:django
- Update to v 4.0.0
  * Removed deprecated modules:
    + rsa.varblock
    + rsa.bigfile
    + rsa._version133
    + rsa._version200
  * Removed CLI commands that use the VARBLOCK/bigfile format.
  * Ensured that PublicKey.save_pkcs1() and PrivateKey.save_pkcs1() always return bytes.
  * Dropped support for Python 2.6 and 3.3.
  * Dropped support for Psyco.
  * Miller-Rabin iterations determined by bitsize of key.
  * Added function `rsa.find_signature_hash()` to return the name of the
    hashing algorithm used to sign a message. `rsa.verify()` now also
    returns that name, instead of always returning `True`.
  * Add support for SHA-224 for PKCS1 signatures.
  * Transitioned from `requirements.txt` to Pipenv for package management.

OBS-URL: https://build.opensuse.org/request/show/676668
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=26
2019-02-18 07:38:22 +00:00
51c5e6e697 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=24
2018-12-04 17:22:01 +00:00
3160858220 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=23
2018-12-04 14:01:02 +00:00
Todd R
87a2f72f83 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=21 2017-05-19 14:16:10 +00:00
Todd R
26c71eca4d Accepting request 494648 from home:TheBlackCat:branches:devel:languages:python
singlespec version again.

Resubmission with executables using update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/494648
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=20
2017-05-17 15:15:23 +00:00
c45d4d1a46 Accepting request 352100 from home:rjschwei:branches:devel:languages:python
- Fix CVE 2016-1494 (bsc#960680)
  - Add patch cve_2016-1494.diff

OBS-URL: https://build.opensuse.org/request/show/352100
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=18
2016-01-05 21:40:57 +00:00
Denisart Benjamin
c32b1b5e4a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=14 2015-11-20 17:53:43 +00:00
Denisart Benjamin
6520a8ec46 Accepting request 333162 from home:rjschwei:branches:devel:languages:python
- require coreutils (bsc#935595)
  + %pre section uses rm which is part of coreutils package

OBS-URL: https://build.opensuse.org/request/show/333162
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=13
2015-09-24 13:07:27 +00:00
Denisart Benjamin
73c3234cf4 Accepting request 306577 from home:benoit_monin:branches:devel:languages:python
- update to version 3.1.4
- add test dependency python-unittest2
- fix update-alternatives
- run the tests with run_tests.py
- add README.rst to the package documentation

OBS-URL: https://build.opensuse.org/request/show/306577
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=11
2015-05-16 13:22:48 +00:00
Denisart Benjamin
de84d1b259 Accepting request 260391 from home:Ledest:misc
fix bashisms in pre script

OBS-URL: https://build.opensuse.org/request/show/260391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=9
2014-11-14 15:40:11 +00:00
Denisart Benjamin
400df5b270 Accepting request 203018 from home:posophe:branches:devel:languages:python
Update and update-alternatives implementation

OBS-URL: https://build.opensuse.org/request/show/203018
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=7
2013-10-11 23:58:18 +00:00
Sascha Peilicke
7ec938ac17 - Add rsa-use-system-setuptools.patch
- Update to version 3.1.1:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=5
2013-08-12 15:23:37 +00:00
Sascha Peilicke
cb55a31701 - Update to verison 3.1.1:
+ Upstream provides no changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=3
2012-11-23 11:19:49 +00:00
Philipp Thomas
b996e8694a Accepting request 121356 from home:jimfunk:python
Pure-Python RSA implementation. Needed by python-oauth, a new requirement for python-requests

OBS-URL: https://build.opensuse.org/request/show/121356
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=1
2012-05-19 18:51:15 +00:00