Commit Graph

19 Commits

Author SHA256 Message Date
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
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
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
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