Accepting request 854279 from devel:languages:python

- update to 3.3.0
  - BACKWARDS INCOMPATIBLE: Support for Python 3.5 has been removed
    due to low usage and maintenance burden.
  - BACKWARDS INCOMPATIBLE: The GCM and AESGCM now require 64-bit
    to 1024-bit (8 byte to 128 byte) initialization vectors. This
    change is to conform with an upcoming OpenSSL release that will
    no longer support sizes outside this window.
  - BACKWARDS INCOMPATIBLE: When deserializing asymmetric keys we
    now raise ValueError rather than UnsupportedAlgorithm when an
    unsupported cipher is used. This change is to conform with an
    upcoming OpenSSL release that will no longer distinguish
    between error types.
  - BACKWARDS INCOMPATIBLE: We no longer allow loading of finite
    field Diffie-Hellman parameters of less than 512 bits in
    length. This change is to conform with an upcoming OpenSSL
    release that no longer supports smaller sizes. These keys were
    already wildly insecure and should not have been used in any
    application outside of testing.
  - Updated Windows, macOS, and manylinux wheels to be compiled
    with OpenSSL 1.1.1i.
  - Python 2 support is deprecated in cryptography. This is the
    last release that will support Python 2.
  - Added the recover_data_from_signature() function to
    RSAPublicKey for recovering the signed data from an RSA
    signature. 
- Remove unnecessary dependency virtualenv.

OBS-URL: https://build.opensuse.org/request/show/854279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=52
This commit is contained in:
Dominique Leuenberger 2020-12-12 19:29:32 +00:00 committed by Git OBS Bridge
commit 31aa045b6c
6 changed files with 49 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3d5e10be0cf2a12214ddee45c6bd203dab435e3d83b4560c03066eda600bfe3
size 540994

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEBf2foWz3VzUNkaVgI1rl8Sn57ZgFAl+Y4vIACgkQI1rl8Sn5
7Zjevwf/U2fOwxUOJPN0/YBDqatPIu7sg+2+6m9rUecj01fjZIkeT9nuZBMenzxN
JBLDKOcb24mQ+HjCKEq4TfzS43rgvaoXsClSQwO5/rmYYOR8IUMdK+NWjvOqYc6H
0U3LhcZ/JakM5OoB7miOLCYE1o3EjikmT93QjEPENdul4a5h6an0HYPUvwHWX0ok
XekBnkoe26gZE2pCQepcLd3KChmD0wwu9Zu1hV4zoVMVR19hnVuP6JWcCn+IdrAz
p7ak9++3VSR2d4fDcObp20EXC6fJqMPvTFeM1k+krQ6JGFuRLktKW5NW3qu9WmnG
b0RZa7sMTCpG4hdinsYPZvEvIY5pzQ==
=/+zZ
-----END PGP SIGNATURE-----

3
cryptography-3.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9f1e520f2ee08c5a88e1ae0b31159bdb13da40a486bea3e9f7d338564850ea6
size 539494

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEBf2foWz3VzUNkaVgI1rl8Sn57ZgFAl/QGscACgkQI1rl8Sn5
7ZhRSgf/QLvMyLuj/3TgfyaFVk9vHyyr01MBw0jpdRwMXG0LK7ALfF2OOSrg4WB4
qlA2Y+IU1LQdhQoRnhep5Dtl0gGtTe+wWzMLTHKTZqbXuk9zkHnLPdFHPVwsf1Y2
hUYdxVaUyEdJYnRSzy9iIF7RDPFMp+1DGYv7Y7By/5ZN5bDcNFc8CCijoLeAE2kO
l4CXGAtSmfqxdQ7WWr9DJLXONS5Cy2NUQTSSegdcJzg9gEuff0q9/4DzKa4KJHAw
HjYxicHgIjAqI5G/S2HnnIgkYea21K/hJ3pb0h8ZBgMfirYboBkKZnkg199fGlqU
71fAIAB6CzGh/pUKowW2uI4aQVRXsA==
=2yxc
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Wed Dec 9 11:56:30 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
- update to 3.3.0
- BACKWARDS INCOMPATIBLE: Support for Python 3.5 has been removed
due to low usage and maintenance burden.
- BACKWARDS INCOMPATIBLE: The GCM and AESGCM now require 64-bit
to 1024-bit (8 byte to 128 byte) initialization vectors. This
change is to conform with an upcoming OpenSSL release that will
no longer support sizes outside this window.
- BACKWARDS INCOMPATIBLE: When deserializing asymmetric keys we
now raise ValueError rather than UnsupportedAlgorithm when an
unsupported cipher is used. This change is to conform with an
upcoming OpenSSL release that will no longer distinguish
between error types.
- BACKWARDS INCOMPATIBLE: We no longer allow loading of finite
field Diffie-Hellman parameters of less than 512 bits in
length. This change is to conform with an upcoming OpenSSL
release that no longer supports smaller sizes. These keys were
already wildly insecure and should not have been used in any
application outside of testing.
- Updated Windows, macOS, and manylinux wheels to be compiled
with OpenSSL 1.1.1i.
- Python 2 support is deprecated in cryptography. This is the
last release that will support Python 2.
- Added the recover_data_from_signature() function to
RSAPublicKey for recovering the signed data from an RSA
signature.
-------------------------------------------------------------------
Sun Dec 6 20:37:33 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Remove unnecessary dependency virtualenv.
-------------------------------------------------------------------
Wed Oct 28 14:29:05 UTC 2020 - Michael Ströder <michael@stroeder.com>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-cryptography
Version: 3.2.1
Version: 3.3
Release: 0
Summary: Python library which exposes cryptographic recipes and primitives
License: Apache-2.0 OR BSD-3-Clause
@ -63,7 +63,6 @@ BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pyasn1 >= 0.1.8}
BuildRequires: %{python_module pytest > 3.3.0}
BuildRequires: %{python_module virtualenv}
# /SECTION
# python-base is not enough, we need the _ssl module
%ifpython2