SHA256
1
0
forked from pool/python-rsa
Commit Graph

49 Commits

Author SHA256 Message Date
Ana Guerrero
0be093996a Accepting request 1116020 from devel:languages:python
- Use libalternatives instead of update-alternatives.
  * Fix threading issue introduced in 4.7
- update to 4.7 (CVE-2020-25658 bsc#1178676):
  * Declare & test support for Python 3.9
- update to 4.6.0 (CVE-2020-13757 bsc#1172389):

OBS-URL: https://build.opensuse.org/request/show/1116020
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=26
2023-10-06 19:12:12 +00:00
9349fb5a58 - Use libalternatives instead of update-alternatives.
* Fix threading issue introduced in 4.7
- update to 4.7 (CVE-2020-25658 bsc#1178676):
  * Declare & test support for Python 3.9
- update to 4.6.0 (CVE-2020-13757 bsc#1172389):

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=47
2023-10-06 10:42:45 +00:00
Dominique Leuenberger
ee9e6ac369 Accepting request 1081770 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=25
2023-04-22 19:58:48 +00:00
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
Richard Brown
52f5432ec7 Accepting request 990868 from devel:languages:python
- 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/request/show/990868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=24
2022-07-26 17:42:05 +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
Dominique Leuenberger
e0f79ccf27 Accepting request 985079 from devel:languages:python
- 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/request/show/985079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=23
2022-06-26 09:58:41 +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
Dominique Leuenberger
9e6010d852 Accepting request 929838 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/929838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=22
2021-11-09 22:53:52 +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
Richard Brown
210a1e5bbd Accepting request 876092 from devel:languages:python
- 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/request/show/876092
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=21
2021-03-05 12:43:08 +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
Dominique Leuenberger
46a5d67690 Accepting request 867594 from devel:languages:python
- 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/request/show/867594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=20
2021-02-01 12:26:57 +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
Dominique Leuenberger
68ac56b4df Accepting request 854255 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/854255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=19
2020-12-12 19:29:22 +00:00
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
Dominique Leuenberger
daae6798c7 Accepting request 827210 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/827210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=18
2020-08-25 10:37:32 +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
Dominique Leuenberger
5596cb0092 Accepting request 818331 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/818331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=17
2020-07-04 23:10:37 +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
Dominique Leuenberger
a5fd280da1 Accepting request 687921 from devel:languages:python
- fix build on older distributions

OBS-URL: https://build.opensuse.org/request/show/687921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=16
2019-03-29 19:37:28 +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
Dominique Leuenberger
0fa9da2604 Accepting request 676924 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/676924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=15
2019-02-26 21:19:08 +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
Dominique Leuenberger
d57852f979 Accepting request 659655 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=14
2018-12-24 10:43:33 +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
Dominique Leuenberger
f98879c16c Accepting request 496784 from devel:languages:python
- Update to Version 3.4.2
- Implement single-spec version.
- Fix source URL.

OBS-URL: https://build.opensuse.org/request/show/496784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=13
2017-05-22 08:47:43 +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
Dominique Leuenberger
60e9ccb2a5 Accepting request 352108 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/352108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=12
2016-01-06 23:24:50 +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
Stephan Kulow
82b660dfc0 Accepting request 347105 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/347105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=11
2015-12-14 09:14:04 +00:00
Thomas Bechtold
bf2a54df7b Accepting request 347025 from home:rjschwei:branches:devel:languages:python
- Include version 3.1.4 in SLE 12 (FATE#319904, bsc#954690)

OBS-URL: https://build.opensuse.org/request/show/347025
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=16
2015-12-02 06:39:36 +00:00
Denisart Benjamin
ac87004085 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=15 2015-11-20 17:53:55 +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
Stephan Kulow
bbe25ec27f Accepting request 307483 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/307483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=10
2015-05-16 17:02:00 +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
Dominique Leuenberger
2ccf17514c Accepting request 261636 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/261636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=9
2014-11-18 21:45:11 +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
Tomáš Chvátal
a0ac465ec4 Accepting request 203019 from devel:languages:python
Update and update-alternatives implementation (forwarded request 203018 from posophe)

OBS-URL: https://build.opensuse.org/request/show/203019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=7
2013-10-13 10:16:48 +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
Tomáš Chvátal
2746f7bd5d Accepting request 186769 from devel:languages:python
- Add rsa-use-system-setuptools.patch

- Update to version 3.1.1:

OBS-URL: https://build.opensuse.org/request/show/186769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=5
2013-08-13 08:59:49 +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
Stephan Kulow
d2b486c320 Accepting request 142573 from devel:languages:python
- Update to verison 3.1.1:
  + Upstream provides no changelog

OBS-URL: https://build.opensuse.org/request/show/142573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=3
2012-11-25 13:02:47 +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
Stephan Kulow
d46d37d1b7 Accepting request 122028 from devel:languages:python
Please add

OBS-URL: https://build.opensuse.org/request/show/122028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=1
2012-05-29 08:35:56 +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