Compare commits

253 Commits

Author SHA256 Message Date
360d9e92c9 Accepting request 1292428 from devel:languages:python
- update to 45.0.5:
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.5.1.
  * Fixed decrypting PKCS#8 files encrypted with SHA1-RC4. (This
    is not considered secure, and is supported only for backwards
    compatibility.)
  * Fixed decrypting PKCS#8 files encrypted with long salts (this
    impacts keys encrypted by Bouncy Castle).
  * Fixed decrypting PKCS#8 files encrypted with DES-CBC-MD5.
    While wildly insecure, this remains prevalent.
  * Fixed using mypy with cryptography on older versions of
    Python.
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.5.0.
  * Support for Python 3.7 is deprecated and will be removed in
    the next cryptography release.
  * Updated the minimum supported Rust version (MSRV) to 1.74.0,
    from 1.65.0.
  * Added support for serialization of PKCS#12 Java truststores
    in :func:`~cryptography.hazmat.primitives.serialization.pkcs1
    2.serialize_java_truststore`
  * Added :meth:`~cryptography.hazmat.primitives.kdf.argon2.Argon
    2id.derive_phc_encoded` and :meth:`~cryptography.hazmat.primi
    tives.kdf.argon2.Argon2id.verify_phc_encoded` methods to
    support password hashing in the PHC string format
  * Added support for PKCS7 decryption and encryption using
    AES-256 as the content algorithm, in addition to AES-128.
  * BACKWARDS INCOMPATIBLE: Made SSH private key loading more
    consistent with other private key loading: :func:`~cryptograp
    hy.hazmat.primitives.serialization.load_ssh_private_key` now

OBS-URL: https://build.opensuse.org/request/show/1292428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=102
2025-08-08 13:10:10 +00:00
79017f697b Accepting request 1276716 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1276716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=101
2025-05-13 18:12:01 +00:00
c6d1fe1d2c - Update to 44.0.3
* Fixed compilation when using LibreSSL 4.1.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=247
2025-05-12 06:29:50 +00:00
06a4e8dc55 Accepting request 1255546 from devel:languages:python
- update to 44.0.2:
  * We now build wheels for PyPy 3.11.

OBS-URL: https://build.opensuse.org/request/show/1255546
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=100
2025-03-25 21:07:42 +00:00
4719d8c12b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=245 2025-03-24 07:17:45 +00:00
5c229486ae - update to 44.0.2:
* We now build wheels for PyPy 3.11.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=244
2025-03-23 21:41:51 +00:00
5cc6cd37ca Accepting request 1248604 from devel:languages:python
- update to 44.0.1:
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.4.1.
  * We now build armv7l manylinux wheels and publish them to
    PyPI.
  * We now build manylinux_2_34 wheels and publish them to PyPI.

OBS-URL: https://build.opensuse.org/request/show/1248604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=99
2025-02-27 13:49:50 +00:00
d6d120e786 - update to 44.0.1:
* Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.4.1.
  * We now build armv7l manylinux wheels and publish them to
    PyPI.
  * We now build manylinux_2_34 wheels and publish them to PyPI.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=242
2025-02-26 09:41:33 +00:00
405e6469c4 Accepting request 1242838 from devel:languages:python
- Update to version 44.0.0:
  * BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.9.
  * Deprecated Python 3.7 support. Python 3.7 is no longer supported by
    the Python core team. Support for Python 3.7 will be removed in a future
    cryptography release.
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.4.0.
  * macOS wheels are now built against the macOS 10.13 SDK. Users on older
    versions of macOS should upgrade, or they will need to build cryptography
    themselves.
  * Enforce the RFC 5280 requirement that extended key usage extensions must not be empty.
  * Added support for timestamp extraction to the :class:`~cryptography.fernet.MultiFernet` class.
  * Relax the Authority Key Identifier requirements on root CA certificates
    during X.509 verification to allow fields permitted by RFC 5280 but
    forbidden by the CA/Browser BRs.
  * Added support for
    :class:`~cryptography.hazmat.primitives.kdf.argon2.Argon2id` when using
    OpenSSL 3.2.0+.
  * Added support for the :class:`~cryptography.x509.Admissions` certificate extension.
  * Added basic support for PKCS7 decryption (including S/MIME 3.2) via 
    :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_der`, 
    :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_pem`,
    and :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_smime`.
- Update specfile to accommodate new project structure at version 44.0.0
- Update no-pytest_benchmark.patch

OBS-URL: https://build.opensuse.org/request/show/1242838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=98
2025-02-06 21:01:51 +00:00
c81a6f620c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=240 2025-02-03 08:32:36 +00:00
39518a1988 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=239 2025-01-29 08:54:07 +00:00
b71fd351ec - Update to version 44.0.0:
* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.9.
  * Deprecated Python 3.7 support. Python 3.7 is no longer supported by
    the Python core team. Support for Python 3.7 will be removed in a future
    cryptography release.
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.4.0.
  * macOS wheels are now built against the macOS 10.13 SDK. Users on older
    versions of macOS should upgrade, or they will need to build cryptography
    themselves.
  * Enforce the RFC 5280 requirement that extended key usage extensions must not be empty.
  * Added support for timestamp extraction to the :class:`~cryptography.fernet.MultiFernet` class.
  * Relax the Authority Key Identifier requirements on root CA certificates
    during X.509 verification to allow fields permitted by RFC 5280 but
    forbidden by the CA/Browser BRs.
  * Added support for
    :class:`~cryptography.hazmat.primitives.kdf.argon2.Argon2id` when using
    OpenSSL 3.2.0+.
  * Added support for the :class:`~cryptography.x509.Admissions` certificate extension.
  * Added basic support for PKCS7 decryption (including S/MIME 3.2) via 
    :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_der`, 
    :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_pem`,
    and :func:`~cryptography.hazmat.primitives.serialization.pkcs7.pkcs7_decrypt_smime`.
- Update specfile to accommodate new project structure at version 44.0.0
- Update no-pytest_benchmark.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=238
2025-01-29 08:34:20 +00:00
3a06365e24 Accepting request 1222847 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1222847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=97
2024-11-09 19:54:03 +00:00
d0ad3bb3fc - Fix requires_eq replacement for distributions which do not have
python3-cffi installed (such as SLE15 python module pythons)
  * gh#openSUSE/python-rpm-macros#185
- Remove outdated section in description

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=236
2024-11-08 15:01:32 +00:00
97d57cc1df Accepting request 1221413 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1221413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=96
2024-11-06 15:49:39 +00:00
6c5fc4f022 - Avoid using requires_eq, which after the last modifications
conflicts with python singlespec (order of expansion).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=234
2024-11-05 11:51:09 +00:00
3bab3768bf Accepting request 1217043 from devel:languages:python
- update to 43.0.3:
  * Fixed release metadata for cryptography-vectors
  * Fixed compilation when using LibreSSL 4.0.0.

OBS-URL: https://build.opensuse.org/request/show/1217043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=95
2024-10-23 19:08:56 +00:00
b61703c6e8 - update to 43.0.3:
* Fixed release metadata for cryptography-vectors
  * Fixed compilation when using LibreSSL 4.0.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=232
2024-10-22 13:26:27 +00:00
5f93749b9e Accepting request 1204397 from devel:languages:python
- update to 43.0.1:
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.3.2.

OBS-URL: https://build.opensuse.org/request/show/1204397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=94
2024-09-30 13:34:29 +00:00
310b72870a - update to 43.0.1:
* Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.3.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=230
2024-09-28 19:46:03 +00:00
8c4e8aa051 Accepting request 1201401 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1201401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=93
2024-09-18 13:26:47 +00:00
542b1f0d3a - Fix building on SLE based distributions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=228
2024-09-16 11:21:15 +00:00
a1bd0c759e Accepting request 1193532 from devel:languages:python
- Fix building optimized binaries with debuginfo.

- Update building of Rust modules to use modern cargo_vendor
  service
- Remove unneeded use-offline-build.patch

OBS-URL: https://build.opensuse.org/request/show/1193532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=92
2024-08-17 10:41:00 +00:00
3b77b1ca19 Use %cargo_build macro instead of plain call to cargo.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=226
2024-08-12 22:30:46 +00:00
7301b53b54 Fix variable
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=225
2024-08-12 20:37:07 +00:00
eae8858b3e - Fix building optimized binaries with debuginfo.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=224
2024-08-12 20:36:26 +00:00
1b46516713 - Update building of Rust modules to use modern cargo_vendor
service
- Remove unneeded use-offline-build.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=223
2024-07-31 21:48:34 +00:00
e2573595d6 Accepting request 1189786 from devel:languages:python
- update to 43.0.0:
  * BACKWARDS INCOMPATIBLE: Support for OpenSSL less than 1.1.1e
    has been removed.  Users on older version of OpenSSL will
    need to upgrade.
  * BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.8.
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.3.1.
  * Updated the minimum supported Rust version (MSRV) to 1.65.0,
    from 1.63.0.
  * :func:`~cryptography.hazmat.primitives.asymmetric.rsa.generat
    e_private_key` now enforces a minimum RSA key size of
    1024-bit. Note that 1024-bit is still considered insecure,
    users should generally use a key size of 2048-bits.
  * :func:`~cryptography.hazmat.primitives.serialization.pkcs7.se
    rialize_certificates` now emits ASN.1 that more closely
    follows the recommendations in RFC 2315.
  * Added new :doc:`/hazmat/decrepit/index` module which contains
    outdated and insecure cryptographic primitives. :class:`~cryp
    tography.hazmat.primitives.ciphers.algorithms.CAST5`, :class:
    `~cryptography.hazmat.primitives.ciphers.algorithms.SEED`, :c
    lass:`~cryptography.hazmat.primitives.ciphers.algorithms.IDEA
    `, and :class:`~cryptography.hazmat.primitives.ciphers.algori
    thms.Blowfish`, which were deprecated in 37.0.0, have been
    added to this module. They will be removed from the cipher
    module in 45.0.0.
  * Moved :class:`~cryptography.hazmat.primitives.ciphers.algorit
    hms.TripleDES` and :class:`~cryptography.hazmat.primitives.ci
    phers.algorithms.ARC4` into :doc:`/hazmat/decrepit/index` and
    deprecated them in the cipher module. They will be removed
    from the cipher module in 48.0.0.

OBS-URL: https://build.opensuse.org/request/show/1189786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=91
2024-07-31 11:28:09 +00:00
9afb0c1aec OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=221 2024-07-26 13:27:22 +00:00
651c5e926b - update to 43.0.0:
* BACKWARDS INCOMPATIBLE: Support for OpenSSL less than 1.1.1e
    has been removed.  Users on older version of OpenSSL will
    need to upgrade.
  * BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.8.
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.3.1.
  * Updated the minimum supported Rust version (MSRV) to 1.65.0,
    from 1.63.0.
  * :func:`~cryptography.hazmat.primitives.asymmetric.rsa.generat
    e_private_key` now enforces a minimum RSA key size of
    1024-bit. Note that 1024-bit is still considered insecure,
    users should generally use a key size of 2048-bits.
  * :func:`~cryptography.hazmat.primitives.serialization.pkcs7.se
    rialize_certificates` now emits ASN.1 that more closely
    follows the recommendations in RFC 2315.
  * Added new :doc:`/hazmat/decrepit/index` module which contains
    outdated and insecure cryptographic primitives. :class:`~cryp
    tography.hazmat.primitives.ciphers.algorithms.CAST5`, :class:
    `~cryptography.hazmat.primitives.ciphers.algorithms.SEED`, :c
    lass:`~cryptography.hazmat.primitives.ciphers.algorithms.IDEA
    `, and :class:`~cryptography.hazmat.primitives.ciphers.algori
    thms.Blowfish`, which were deprecated in 37.0.0, have been
    added to this module. They will be removed from the cipher
    module in 45.0.0.
  * Moved :class:`~cryptography.hazmat.primitives.ciphers.algorit
    hms.TripleDES` and :class:`~cryptography.hazmat.primitives.ci
    phers.algorithms.ARC4` into :doc:`/hazmat/decrepit/index` and
    deprecated them in the cipher module. They will be removed
    from the cipher module in 48.0.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=220
2024-07-26 10:51:57 +00:00
81867a0a54 Accepting request 1179508 from devel:languages:python
- update to 42.0.8:
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.2.2.

OBS-URL: https://build.opensuse.org/request/show/1179508
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=90
2024-06-09 18:18:45 +00:00
5fd0f8aee2 - update to 42.0.8:
* Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.2.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=218
2024-06-08 12:04:45 +00:00
283cd268df Accepting request 1174053 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1174053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=89
2024-05-16 15:12:39 +00:00
537be1433f Accepting request 1172344 from devel:languages:python
- update to 42.0.6:
  * Fixed compilation when using LibreSSL 3.9.1.

OBS-URL: https://build.opensuse.org/request/show/1172344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=88
2024-05-08 09:38:47 +00:00
1bcd019a4b - update to 42.0.7:
* Restored Windows 7 compatibility for our pre-built wheels.
    Note that we do not test on Windows 7 and wheels for our next
    release will not support it. Microsoft no longer provides
    support for Windows 7 and users are encouraged to upgrade.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=215
2024-05-07 16:14:48 +00:00
7d82e714af - update to 42.0.6:
* Fixed compilation when using LibreSSL 3.9.1.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=214
2024-05-07 07:36:43 +00:00
46be1e4e9c Accepting request 1164122 from devel:languages:python
- update to 42.0.5:
  * Limit the number of name constraint checks that will be
    performed in :mod:`X.509 path validation
    <cryptography.x509.verification>` to protect against denial
    of service attacks.
  * Upgrade pyo3 version, which fixes building on PowerPC.

OBS-URL: https://build.opensuse.org/request/show/1164122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=87
2024-04-03 15:18:49 +00:00
469d7f8302 - update to 42.0.5:
* Limit the number of name constraint checks that will be
    performed in :mod:`X.509 path validation
    <cryptography.x509.verification>` to protect against denial
    of service attacks.
  * Upgrade pyo3 version, which fixes building on PowerPC.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=212
2024-04-02 13:19:25 +00:00
db2f1d8603 Accepting request 1149625 from devel:languages:python
- update to 42.0.4 (bsc#1220210, CVE-2024-26130):
  * Fixed a null-pointer-dereference and segfault that could occur
    when creating a PKCS#12 bundle. Credit to Alexander-Programming
    for reporting the issue. CVE-2024-26130
  * Fixed ASN.1 encoding for PKCS7/SMIME signed messages. The fields
    SMIMECapabilities and SignatureAlgorithmIdentifier should now be
    correctly encoded according to the definitions in :rfc:2633
    :rfc:3370.
- update to 42.0.3:
  * Fixed an initialization issue that caused key loading failures for some
    users.
- Drop patch skip_openssl_memleak_test.patch not needed anymore.

OBS-URL: https://build.opensuse.org/request/show/1149625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=86
2024-02-23 15:41:42 +00:00
91c292e92f - remove not working tests for ix86
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=210
2024-02-22 18:03:16 +00:00
22718d2516 - update to 42.0.4 (bsc#1220210, CVE-2024-26130):
* Fixed a null-pointer-dereference and segfault that could occur
    when creating a PKCS#12 bundle. Credit to Alexander-Programming
    for reporting the issue. CVE-2024-26130
  * Fixed ASN.1 encoding for PKCS7/SMIME signed messages. The fields
    SMIMECapabilities and SignatureAlgorithmIdentifier should now be
    correctly encoded according to the definitions in :rfc:2633
    :rfc:3370.
- update to 42.0.3:
  * Fixed an initialization issue that caused key loading failures for some
    users.
- Drop patch skip_openssl_memleak_test.patch not needed anymore.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=209
2024-02-22 17:38:15 +00:00
1baef87c05 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=208 2024-02-04 19:12:18 +00:00
bc9c1dde8b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=207 2024-02-04 18:53:53 +00:00
4507ff5d23 - update to 42.0.2:
* Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.2.1.
  * Fixed an issue that prevented the use of Python buffer
    protocol objects in sign and verify methods on asymmetric
    keys.
  * Fixed an issue with incorrect keyword-argument naming with
    EllipticCurvePrivateKey :meth:`~cryptography.hazmat.primitive
    s.asymmetric.ec.EllipticCurvePrivateKey.exchange`,
    X25519PrivateKey :meth:`~cryptography.hazmat.primitives.asymm
    etric.x25519.X25519PrivateKey.exchange`, X448PrivateKey :meth
    :`~cryptography.hazmat.primitives.asymmetric.x448.X448Private
    Key.exchange`, and DHPrivateKey :meth:`~cryptography.hazmat.p
    rimitives.asymmetric.dh.DHPrivateKey.exchange`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=206
2024-01-31 17:24:40 +00:00
2f68d9363c - update to 42.0.1:
* Fixed an issue with incorrect keyword-argument naming with
    EllipticCurvePrivateKey :meth:`~cryptography.hazmat.primitive
    s.asymmetric.ec.EllipticCurvePrivateKey.sign`.
  * Resolved compatibility issue with loading certain RSA public
    keys in :func:`~cryptography.hazmat.primitives.serialization.
    load_pem_public_key`.
  * BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.7.
  * BACKWARDS INCOMPATIBLE: Loading a PKCS7 with no content field
    using :func:`~cryptography.hazmat.primitives.serialization.pk
    cs7.load_pem_pkcs7_certificates` or :func:`~cryptography.hazm
    at.primitives.serialization.pkcs7.load_der_pkcs7_certificates
    ` will now raise a ValueError rather than return an empty
    list.
  * Parsing SSH certificates no longer permits malformed critical
    options with values, as documented in the 41.0.2 release
    notes.
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.2.0.
  * Updated the minimum supported Rust version (MSRV) to 1.63.0,
    from 1.56.0.
  * We now publish both py37 and py39 abi3 wheels. This should
    resolve some errors relating to initializing a module
    multiple times per process.
  * Support :class:`~cryptography.hazmat.primitives.asymmetric.pa
    dding.PSS` for X.509 certificate signing requests and
    certificate revocation lists with the keyword-only argument
    rsa_padding on the sign methods for
    :class:`~cryptography.x509.CertificateSigningRequestBuilder`
    and

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=205
2024-01-29 14:19:13 +00:00
5476db9cdd Accepting request 1129560 from devel:languages:python
- update to 41.0.7 (CVE-2023-49083, bsc#1217592):
  * Fixed compilation when using LibreSSL 3.8.2.
  * Fixed a null-pointer-dereference and segfault that could
    occur when loading certificates from a PKCS#7 bundle.
    Credit to **pkuzco** for reporting the issue. **CVE-2023-49083**

OBS-URL: https://build.opensuse.org/request/show/1129560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=85
2023-11-29 20:18:37 +00:00
70f0f2e8c2 - update to 41.0.7 (CVE-2023-49083, bsc#1217592):
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=203
2023-11-28 12:51:56 +00:00
ec10c5ca11 - update to 41.0.7 (CVE-2023-49083, bsc#FIXME):
* Fixed compilation when using LibreSSL 3.8.2.
  * Fixed a null-pointer-dereference and segfault that could
    occur when loading certificates from a PKCS#7 bundle.
    Credit to **pkuzco** for reporting the issue. **CVE-2023-49083**

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=202
2023-11-28 09:39:28 +00:00
42676a4074 Accepting request 1124982 from devel:languages:python
- update to 41.0.5:
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.1.4.
  * Added a function to support an upcoming ``pyOpenSSL``
    release.

    parameters in X.509 certificates, which are
  * Fixed error when using py2app to build an application with a cryptography dependency.
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 1.1.1n.
- split tests in a multibuild variant to optimize rebuild time a bit
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 1.1.1m.
- drop disable-RustExtension.patch: building rust extension now
  * Re-added a legacy symbol causing problems for older ``pyOpenSSL`` use
    signature.
  * wheels compiled with OpenSSL 1.1.1h.
    - Removed support for calling public_bytes() with no arguments, as per
  * BACKWARDS INCOMPATIBLE:
    Removedcryptography.hazmat.primitives.asymmetric.utils.encode_rfc6979_signature
    andcryptography.hazmat.primitives.asymmetric.utils.decode_rfc6979_signature,
    which had been deprecated for nearly 4 years. Use encode_dss_signature()
  * BACKWARDS INCOMPATIBLE: Removed cryptography.x509.Certificate.serial, which
  * Add support for easily mapping an object identifier to its elliptic curve
  * Add support for OpenSSL when compiled with the no-engine
  * BACKWARDS INCOMPATIBLE: U-label strings were deprecated in version 2.1,
    but this version removes the default idna dependency as well. If you still
    need this deprecated path please install cryptography with the idna extra:
  * Numerous classes and functions have been updated to allow bytes-like
    types for keying material and passwords, including symmetric algorithms,
  * Added rfc4514_string() method to x509.Name,
    x509.RelativeDistinguishedName, and x509.NameAttribute to format the name

OBS-URL: https://build.opensuse.org/request/show/1124982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=84
2023-11-13 21:16:19 +00:00
35e0fa6aa4 - update to 41.0.5:
* Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.1.4.
  * Added a function to support an upcoming ``pyOpenSSL``
    release.
    parameters in X.509 certificates, which are
  * Fixed error when using py2app to build an application with a cryptography dependency.
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 1.1.1n.
- split tests in a multibuild variant to optimize rebuild time a bit
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 1.1.1m.
- drop disable-RustExtension.patch: building rust extension now
  * Re-added a legacy symbol causing problems for older ``pyOpenSSL`` use
    signature.
  * wheels compiled with OpenSSL 1.1.1h.
    - Removed support for calling public_bytes() with no arguments, as per
  * BACKWARDS INCOMPATIBLE:
    Removedcryptography.hazmat.primitives.asymmetric.utils.encode_rfc6979_signature
    andcryptography.hazmat.primitives.asymmetric.utils.decode_rfc6979_signature,
    which had been deprecated for nearly 4 years. Use encode_dss_signature()
  * BACKWARDS INCOMPATIBLE: Removed cryptography.x509.Certificate.serial, which
  * Add support for easily mapping an object identifier to its elliptic curve
  * Add support for OpenSSL when compiled with the no-engine
  * BACKWARDS INCOMPATIBLE: U-label strings were deprecated in version 2.1,
    but this version removes the default idna dependency as well. If you still
    need this deprecated path please install cryptography with the idna extra:
  * Numerous classes and functions have been updated to allow bytes-like
    types for keying material and passwords, including symmetric algorithms,
  * Added rfc4514_string() method to x509.Name,
    x509.RelativeDistinguishedName, and x509.NameAttribute to format the name
  * Added from_encoded_point(), which immediately checks if the point is on

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=200
2023-11-10 13:29:19 +00:00
2c43154be0 Accepting request 1115782 from devel:languages:python
- update to 41.0.4:
  * ~~~~~~~~~~~~~~~~~~~
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.1.3.
  * .. _v41-0-3:

OBS-URL: https://build.opensuse.org/request/show/1115782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=83
2023-10-06 19:12:33 +00:00
c880559867 - update to 41.0.4:
* ~~~~~~~~~~~~~~~~~~~
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.1.3.
  * .. _v41-0-3:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=198
2023-10-05 09:30:49 +00:00
08fd477308 Accepting request 1109339 from devel:languages:python
- Update to 39.0.1 (bsc#1208036, CVE-2023-23931):
  * drops CVE-2023-23931-dont-allow-update-into.patch in older dists

OBS-URL: https://build.opensuse.org/request/show/1109339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=82
2023-09-07 19:12:48 +00:00
0f0452c689 - Update to 39.0.1 (bsc#1208036, CVE-2023-23931):
* drops CVE-2023-23931-dont-allow-update-into.patch in older dists

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=196
2023-09-06 20:34:30 +00:00
8a200f6dfc Accepting request 1102868 from devel:languages:python
- update to 41.0.3:
  * Fixed performance regression loading DH public keys.
  * Fixed a memory leak when using
  * :class:`~cryptography.hazmat.primitives.ciphers.aead.ChaCha20
    Poly1305`.

OBS-URL: https://build.opensuse.org/request/show/1102868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=81
2023-08-15 14:38:46 +00:00
9ed6a9c7a8 - update to 41.0.3:
* Fixed performance regression loading DH public keys.
  * Fixed a memory leak when using
  * :class:`~cryptography.hazmat.primitives.ciphers.aead.ChaCha20
    Poly1305`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=194
2023-08-08 10:57:35 +00:00
4fea656379 Accepting request 1100618 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1100618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=80
2023-07-26 11:22:27 +00:00
a74a7d5144 - Add reference to bsc#1213378 and CVE-2023-38325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=192
2023-07-18 12:05:23 +00:00
a8612f6bc4 Accepting request 1098185 from devel:languages:python
- update to 41.0.2:
  * Fixed bugs in creating and parsing SSH certificates where
    critical options with values were handled incorrectly.
    Certificates are now created correctly and parsing accepts
    correct values as well as the previously generated
    invalid forms with a warning. In the next release, support
    for parsing these invalid forms will be removed.

- remove patch remove_python_3_6_deprecation_warning.patch as the
  warning was already removed upstream

- Add no-pytest_benchmark.patch, which remove dependency on
  pytest-benchmark and coveralls (We don't need no benchmarking
  and coverage measurement; bsc#1213005).

OBS-URL: https://build.opensuse.org/request/show/1098185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=79
2023-07-12 15:26:20 +00:00
985179992e - update to 41.0.2:
* Fixed bugs in creating and parsing SSH certificates where
    critical options with values were handled incorrectly.
    Certificates are now created correctly and parsing accepts
    correct values as well as the previously generated
    invalid forms with a warning. In the next release, support
    for parsing these invalid forms will be removed.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=190
2023-07-11 13:46:03 +00:00
af1b2b2d21 Accepting request 1098106 from home:ojkastl_buildservice:Branch_devel_languages_python
- remove patch remove_python_3_6_deprecation_warning.patch as the
  warning was already removed upstream

OBS-URL: https://build.opensuse.org/request/show/1098106
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=189
2023-07-11 13:39:26 +00:00
9a5eb8ae60 Accepting request 1098044 from home:mcepl:branches:devel:languages:python
- Add no-pytest_benchmark.patch, which remove dependency on
  pytest-benchmark and coveralls (We don't need no benchmarking
  and coverage measurement; bsc#1213005).

OBS-URL: https://build.opensuse.org/request/show/1098044
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=188
2023-07-11 05:55:34 +00:00
66568c72c8 Accepting request 1095411 from devel:languages:python
- update to 41.0.1 (bsc#1212568):
  * Temporarily allow invalid ECDSA signature algorithm
    parameters in X.509 certificates, which are 
    generated by older versions of Java.
  * Allow null bytes in pass phrases when serializing private
    keys.
  * **BACKWARDS INCOMPATIBLE:** Support for OpenSSL less than
    1.1.1d has been removed.  Users on older version of
    OpenSSL will need to upgrade.
  * **BACKWARDS INCOMPATIBLE:** Support for Python 3.6 has been
    removed.
  * **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL <
    3.6.
  * Updated the minimum supported Rust version (MSRV) to 1.56.0,
    from 1.48.0.
  * Added support for the
    :class:`~cryptography.x509.OCSPAcceptableResponses`
    OCSP extension.
  * Added support for the
    :class:`~cryptography.x509.MSCertificateTemplate`
    proprietary Microsoft certificate extension.
  * Implemented support for equality checks on all asymmetric
    public key types.
  * Added support for ``aes256-gcm@openssh.com`` encrypted keys
    in :func:`~cryptography.hazmat.primitives.serialization.load_ssh
    _private_key`.
  * Added support for obtaining X.509 certificate signature
    algorithm parameters (including PSS)

OBS-URL: https://build.opensuse.org/request/show/1095411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=78
2023-06-27 21:15:52 +00:00
cb3e8c6d77 Add reference to bsc#1212568
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=186
2023-06-22 16:36:45 +00:00
d024f843b5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=185 2023-06-20 17:14:00 +00:00
7fafc344c8 - update to 41.0.1:
* Temporarily allow invalid ECDSA signature algorithm
    parameters in X.509 certificates, which are 
    generated by older versions of Java.
  * Allow null bytes in pass phrases when serializing private
    keys.
  * **BACKWARDS INCOMPATIBLE:** Support for OpenSSL less than
    1.1.1d has been removed.  Users on older version of
    OpenSSL will need to upgrade.
  * **BACKWARDS INCOMPATIBLE:** Support for Python 3.6 has been
    removed.
  * **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL <
    3.6.
  * Updated the minimum supported Rust version (MSRV) to 1.56.0,
    from 1.48.0.
  * Added support for the
    :class:`~cryptography.x509.OCSPAcceptableResponses`
    OCSP extension.
  * Added support for the
    :class:`~cryptography.x509.MSCertificateTemplate`
    proprietary Microsoft certificate extension.
  * Implemented support for equality checks on all asymmetric
    public key types.
  * Added support for ``aes256-gcm@openssh.com`` encrypted keys
    in :func:`~cryptography.hazmat.primitives.serialization.load_ssh
    _private_key`.
  * Added support for obtaining X.509 certificate signature
    algorithm parameters (including PSS)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=184
2023-06-19 20:44:25 +00:00
cde19415b0 Accepting request 1082167 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1082167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=77
2023-04-23 20:43:45 +00:00
82d7f13141 Accepting request 1081377 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081377
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=182
2023-04-22 06:18:33 +00:00
31468ca23b Accepting request 1079573 from devel:languages:python
- update to 40.0.2:
  * Fixed compilation when using LibreSSL 3.7.2.

OBS-URL: https://build.opensuse.org/request/show/1079573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=76
2023-04-16 14:06:43 +00:00
9ec52d9d7d - update to 40.0.2:
* Fixed compilation when using LibreSSL 3.7.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=180
2023-04-15 10:27:13 +00:00
37fef3f486 Accepting request 1076828 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1076828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=75
2023-04-04 19:17:41 +00:00
09aa4116e2 Accepting request 1074512 from devel:languages:python
- update to 40.0.1:
  * Support for Python 3.6 is deprecated and will be removed in
    the next release.
  * Deprecated the current minimum supported Rust version (MSRV)
    of 1.48.0. In the next release we will raise MSRV to 1.56.0.
    Users with the latest ``pip`` will typically get a wheel
    and not need Rust installed
  * Deprecated support for OpenSSL less than 1.1.1d. The next
    release of ``cryptography`` will drop support for older versions.
  * Deprecated support for DSA keys in
    :func:`~cryptography.hazmat.primitives.serialization.load_s
    sh_public_key`
    and
    :func:`~cryptography.hazmat.primitives.serialization.load_s
    sh_private_key`.
  * Deprecated support for OpenSSH serialization in
    :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAP
    ublicKey`
    and
    :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAP
    rivateKey`.
  * Added support for parsing SSH certificates in addition to
    public keys with
    :func:`~cryptography.hazmat.primitives.serialization.load_s
    sh_public_identity`.
    :func:`~cryptography.hazmat.primitives.serialization.load_s
    sh_public_key` continues to support only public keys.
  * Added support for generating SSH certificates with
    :class:`~cryptography.hazmat.primitives.serialization.SSHCe
    rtificateBuilder`.

OBS-URL: https://build.opensuse.org/request/show/1074512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=74
2023-03-29 21:26:11 +00:00
54a0f9a21e Accepting request 1074567 from home:ojkastl_buildservice:Branch_devel_languages_python
rebase patch remove_python_3_6_deprecation_warning.patch

OBS-URL: https://build.opensuse.org/request/show/1074567
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=177
2023-03-27 07:21:36 +00:00
d31ee80686 - update to 40.0.1:
* Support for Python 3.6 is deprecated and will be removed in
    the next release.
  * Deprecated the current minimum supported Rust version (MSRV)
    of 1.48.0. In the next release we will raise MSRV to 1.56.0.
    Users with the latest ``pip`` will typically get a wheel
    and not need Rust installed
  * Deprecated support for OpenSSL less than 1.1.1d. The next
    release of ``cryptography`` will drop support for older versions.
  * Deprecated support for DSA keys in
    :func:`~cryptography.hazmat.primitives.serialization.load_s
    sh_public_key`
    and
    :func:`~cryptography.hazmat.primitives.serialization.load_s
    sh_private_key`.
  * Deprecated support for OpenSSH serialization in
    :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAP
    ublicKey`
    and
    :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAP
    rivateKey`.
  * Added support for parsing SSH certificates in addition to
    public keys with
    :func:`~cryptography.hazmat.primitives.serialization.load_s
    sh_public_identity`.
    :func:`~cryptography.hazmat.primitives.serialization.load_s
    sh_public_key` continues to support only public keys.
  * Added support for generating SSH certificates with
    :class:`~cryptography.hazmat.primitives.serialization.SSHCe
    rtificateBuilder`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=176
2023-03-26 19:59:51 +00:00
9475d19b49 Accepting request 1069840 from devel:languages:python
- update to 39.0.2:
  * Fixed a bug where the content type header was not properly
    encoded for PKCS7 signatures when using the ``Text`` option and
    ``SMIME`` encoding.

OBS-URL: https://build.opensuse.org/request/show/1069840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=73
2023-03-15 17:52:58 +00:00
6b5cf01ce1 - update to 39.0.2:
* Fixed a bug where the content type header was not properly
    encoded for PKCS7 signatures when using the ``Text`` option and
    ``SMIME`` encoding.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=174
2023-03-07 07:38:33 +00:00
3f79c7e21b Accepting request 1063995 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1063995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=72
2023-02-10 13:33:43 +00:00
8de3fa37ad Accepting request 1063993 from home:mcepl:branches:devel:languages:python
- Update to 39.0.1:
  * SECURITY ISSUE - Fixed a bug where Cipher.update_into
    accepted Python buffer protocol objects, but allowed
    immutable buffers. CVE-2023-23931
  * Updated Windows, macOS, and Linux wheels to be compiled with
    OpenSSL 3.0.8.

OBS-URL: https://build.opensuse.org/request/show/1063993
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=172
2023-02-09 11:18:54 +00:00
01a9176cc4 Accepting request 1058087 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1058087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=71
2023-01-14 19:30:48 +00:00
24bd9a4244 Accepting request 1057951 from home:ojkastl_buildservice:ansible_for_SLES15SP4
- adjust patch remove_python_3_6_deprecation_warning.patch to version
  39.0.0

OBS-URL: https://build.opensuse.org/request/show/1057951
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=170
2023-01-13 00:35:03 +00:00
6bb7cfa8c3 Accepting request 1056761 from devel:languages:python
- update to 39.0.0:
  * **BACKWARDS INCOMPATIBLE:** Support for OpenSSL 1.1.0 has been removed.
  Users on older version of OpenSSL will need to upgrade.
  * **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL < 3.5. The new
  minimum LibreSSL version is 3.5.0. Going forward our policy is to support
  versions of LibreSSL that are available in versions of OpenBSD that are
  still receiving security support.
  * **BACKWARDS INCOMPATIBLE:** Removed the ``encode_point`` and
  ``from_encoded_point`` methods on
  :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers`,
  which had been deprecated for several years.
  :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.public_bytes`
  and
  :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.from_encoded_point`
  should be used instead.
  * **BACKWARDS INCOMPATIBLE:** Support for using MD5 or SHA1 in
  :class:`~cryptography.x509.CertificateBuilder`, other X.509 builders, and
  PKCS7 has been removed.
  * **ANNOUNCEMENT:** The next version of ``cryptography`` (40.0) will
    change
  the way we link OpenSSL. This will only impact users who build
  ``cryptography`` from source (i.e., not from a ``wheel``), and specify their
  own version of OpenSSL. For those users, the ``CFLAGS``, ``LDFLAGS``,
  ``INCLUDE``, ``LIB``, and ``CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS`` environment
  variables will no longer be respected. Instead, users will need to
  configure their builds `as documented here`_.
  * Added support for disabling the legacy provider in OpenSSL 3.0.x
  * Added support for disabling RSA key validation checks when loading RSA
  keys via
  ~cryptography.hazmat.primitives.serialization.load_pem_private_key

OBS-URL: https://build.opensuse.org/request/show/1056761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=70
2023-01-08 20:25:08 +00:00
f2d67db72c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=168 2023-01-05 21:13:05 +00:00
7333d27eea - update to 39.0.0:
* **BACKWARDS INCOMPATIBLE:** Support for OpenSSL 1.1.0 has been removed.
  Users on older version of OpenSSL will need to upgrade.
  * **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL < 3.5. The new
  minimum LibreSSL version is 3.5.0. Going forward our policy is to support
  versions of LibreSSL that are available in versions of OpenBSD that are
  still receiving security support.
  * **BACKWARDS INCOMPATIBLE:** Removed the ``encode_point`` and
  ``from_encoded_point`` methods on
  :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers`,
  which had been deprecated for several years.
  :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.public_bytes`
  and
  :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.from_encoded_point`
  should be used instead.
  * **BACKWARDS INCOMPATIBLE:** Support for using MD5 or SHA1 in
  :class:`~cryptography.x509.CertificateBuilder`, other X.509 builders, and
  PKCS7 has been removed.
  * **ANNOUNCEMENT:** The next version of ``cryptography`` (40.0) will
    change
  the way we link OpenSSL. This will only impact users who build
  ``cryptography`` from source (i.e., not from a ``wheel``), and specify their
  own version of OpenSSL. For those users, the ``CFLAGS``, ``LDFLAGS``,
  ``INCLUDE``, ``LIB``, and ``CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS`` environment
  variables will no longer be respected. Instead, users will need to
  configure their builds `as documented here`_.
  * Added support for disabling the legacy provider in OpenSSL 3.0.x
  * Added support for disabling RSA key validation checks when loading RSA
  keys via
  ~cryptography.hazmat.primitives.serialization.load_pem_private_key

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=167
2023-01-02 19:50:55 +00:00
2a08c892a5 Accepting request 1041379 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1041379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=69
2022-12-09 12:16:37 +00:00
7de9edad2b Accepting request 1041287 from home:yarunachalam:branches:devel:languages:python
- Update to version 38.0.4
  * Fixed compilation when using LibreSSL 3.6.0.
  * Fixed error when using py2app to build an application with a cryptography dependency.

OBS-URL: https://build.opensuse.org/request/show/1041287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=165
2022-12-08 11:47:57 +00:00
e96f4c5574 Accepting request 1033460 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1033460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=68
2022-11-05 13:46:35 +00:00
1d2aefdc5c Accepting request 1033458 from home:mcepl:branches:devel:languages:python
- update to 38.0.3:
  - Updated Windows, macOS, and Linux wheels to be compiled
    with OpenSSL 3.0.7, which resolves CVE-2022-3602 and
    CVE-2022-3786.

OBS-URL: https://build.opensuse.org/request/show/1033458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=163
2022-11-04 07:58:36 +00:00
e235e33b0f Accepting request 1007100 from devel:languages:python
- update to 38.0.1:
  * Fixed parsing TLVs in ASN.1 with length greater than 65535 bytes (typically
    seen in large CRLs).
  * Final deprecation of OpenSSL 1.1.0. The next release of ``cryptography``
    will drop support.
  * We no longer ship ``manylinux2010`` wheels. Users should upgrade to the
    latest ``pip`` to ensure this doesn't cause issues downloading wheels on
    their platform. We now ship ``manylinux_2_28`` wheels for users on new
    enough platforms.
  * Updated the minimum supported Rust version (MSRV) to 1.48.0, from 1.41.0.
    Users with the latest ``pip`` will typically get a wheel and not need Rust
    installed, but check :doc:`/installation` for documentation on installing a
    newer ``rustc`` if required.
  * :meth:`~cryptography.fernet.Fernet.decrypt` and related methods now accept
    both ``str`` and ``bytes`` tokens.
  * Parsing ``CertificateSigningRequest`` restores the behavior of enforcing
    that the ``Extension`` ``critical`` field must be correctly encoded DER. See
    `the issue <https://github.com/pyca/cryptography/issues/6368>`_ for complete
    details.
  * Added two new OpenSSL functions to the bindings to support an upcoming
    ``pyOpenSSL`` release.
  * When parsing :class:`~cryptography.x509.CertificateRevocationList` and
    :class:`~cryptography.x509.CertificateSigningRequest` values, it is now
    enforced that the ``version`` value in the input must be valid according to
    the rules of :rfc:`2986` and :rfc:`5280`.
  * Using MD5 or SHA1 in :class:`~cryptography.x509.CertificateBuilder` and
    other X.509 builders is deprecated and support will be removed in the next
    version.
  * Added additional APIs to
    :class:`~cryptography.x509.certificate_transparency.SignedCertificateTimestamp`, including

OBS-URL: https://build.opensuse.org/request/show/1007100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=67
2022-10-03 11:44:15 +00:00
7c43eed0a5 - update to 38.0.1:
* Fixed parsing TLVs in ASN.1 with length greater than 65535 bytes (typically
    seen in large CRLs).
  * Final deprecation of OpenSSL 1.1.0. The next release of ``cryptography``
    will drop support.
  * We no longer ship ``manylinux2010`` wheels. Users should upgrade to the
    latest ``pip`` to ensure this doesn't cause issues downloading wheels on
    their platform. We now ship ``manylinux_2_28`` wheels for users on new
    enough platforms.
  * Updated the minimum supported Rust version (MSRV) to 1.48.0, from 1.41.0.
    Users with the latest ``pip`` will typically get a wheel and not need Rust
    installed, but check :doc:`/installation` for documentation on installing a
    newer ``rustc`` if required.
  * :meth:`~cryptography.fernet.Fernet.decrypt` and related methods now accept
    both ``str`` and ``bytes`` tokens.
  * Parsing ``CertificateSigningRequest`` restores the behavior of enforcing
    that the ``Extension`` ``critical`` field must be correctly encoded DER. See
    `the issue <https://github.com/pyca/cryptography/issues/6368>`_ for complete
    details.
  * Added two new OpenSSL functions to the bindings to support an upcoming
    ``pyOpenSSL`` release.
  * When parsing :class:`~cryptography.x509.CertificateRevocationList` and
    :class:`~cryptography.x509.CertificateSigningRequest` values, it is now
    enforced that the ``version`` value in the input must be valid according to
    the rules of :rfc:`2986` and :rfc:`5280`.
  * Using MD5 or SHA1 in :class:`~cryptography.x509.CertificateBuilder` and
    other X.509 builders is deprecated and support will be removed in the next
    version.
  * Added additional APIs to
    :class:`~cryptography.x509.certificate_transparency.SignedCertificateTimestamp`, including

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=161
2022-09-29 19:43:01 +00:00
4e28de4a81 Accepting request 990237 from devel:languages:python
- update to 37.0.4:
  * updated wheels to b ecompiled against openssl 3.0.5

OBS-URL: https://build.opensuse.org/request/show/990237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=66
2022-08-04 11:23:15 +00:00
e3b9f39c63 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=159 2022-07-19 12:07:48 +00:00
6231e32722 - update to 37.0.4:
* updated wheels to b ecompiled against openssl 3.0.5

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=158
2022-07-19 12:07:27 +00:00
50a7b4e657 Accepting request 982349 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/982349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=65
2022-06-17 19:20:15 +00:00
774bcc3f83 Accepting request 981552 from home:gladiac:mailman3
- Remove Python 3.6 deprecation warning on openSUSE Leap.
  * Added remove_python_3_6_deprecation_warning.patch

Note: This fixes the mailman:test

OBS-URL: https://build.opensuse.org/request/show/981552
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=156
2022-06-13 06:38:29 +00:00
98cad6b16e Accepting request 978871 from devel:languages:python
- update to 37.0.2:
  * Fixed an issue where parsing an encrypted private key with the public
    loader functions would hang waiting for console input on OpenSSL 3.0.x rather
    than raising an error.
  * Restored some legacy symbols for older ``pyOpenSSL`` users. These will be
    removed again in the future, so ``pyOpenSSL`` users should still upgrade
    to the latest version of that package when they upgrade ``cryptography``.
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.2.
  * **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL 2.9.x and 3.0.x.
    The new minimum LibreSSL version is 3.1+.
  * **BACKWARDS INCOMPATIBLE:** Removed ``signer`` and ``verifier`` methods
    from the public key and private key classes. These methods were originally
    deprecated in version 2.0, but had an extended deprecation timeline due
    to usage. Any remaining users should transition to ``sign`` and ``verify``.
  * Deprecated OpenSSL 1.1.0 support. OpenSSL 1.1.0 is no longer supported by
    the OpenSSL project. The next release of ``cryptography`` will be the last
    to support compiling with OpenSSL 1.1.0.
  * Deprecated Python 3.6 support. Python 3.6 is no longer supported by the
    Python core team. Support for Python 3.6 will be removed in a future
    ``cryptography`` release.
  * Deprecated the current minimum supported Rust version (MSRV) of 1.41.0.
    In the next release we will raise MSRV to 1.48.0. Users with the latest
    ``pip`` will typically get a wheel and not need Rust installed, but check
    :doc:`/installation` for documentation on installing a newer ``rustc`` if
    required.
  * Deprecated
    :class:`~cryptography.hazmat.primitives.ciphers.algorithms.CAST5`,
    :class:`~cryptography.hazmat.primitives.ciphers.algorithms.SEED`,
    :class:`~cryptography.hazmat.primitives.ciphers.algorithms.IDEA`, and
    :class:`~cryptography.hazmat.primitives.ciphers.algorithms.Blowfish` because

OBS-URL: https://build.opensuse.org/request/show/978871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=64
2022-05-25 18:33:52 +00:00
6580b793ba OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=154 2022-05-24 08:05:54 +00:00
3be516f43a - update to 37.0.2:
* Fixed an issue where parsing an encrypted private key with the public
    loader functions would hang waiting for console input on OpenSSL 3.0.x rather
    than raising an error.
  * Restored some legacy symbols for older ``pyOpenSSL`` users. These will be
    removed again in the future, so ``pyOpenSSL`` users should still upgrade
    to the latest version of that package when they upgrade ``cryptography``.
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.2.
  * **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL 2.9.x and 3.0.x.
    The new minimum LibreSSL version is 3.1+.
  * **BACKWARDS INCOMPATIBLE:** Removed ``signer`` and ``verifier`` methods
    from the public key and private key classes. These methods were originally
    deprecated in version 2.0, but had an extended deprecation timeline due
    to usage. Any remaining users should transition to ``sign`` and ``verify``.
  * Deprecated OpenSSL 1.1.0 support. OpenSSL 1.1.0 is no longer supported by
    the OpenSSL project. The next release of ``cryptography`` will be the last
    to support compiling with OpenSSL 1.1.0.
  * Deprecated Python 3.6 support. Python 3.6 is no longer supported by the
    Python core team. Support for Python 3.6 will be removed in a future
    ``cryptography`` release.
  * Deprecated the current minimum supported Rust version (MSRV) of 1.41.0.
    In the next release we will raise MSRV to 1.48.0. Users with the latest
    ``pip`` will typically get a wheel and not need Rust installed, but check
    :doc:`/installation` for documentation on installing a newer ``rustc`` if
    required.
  * Deprecated
    :class:`~cryptography.hazmat.primitives.ciphers.algorithms.CAST5`,
    :class:`~cryptography.hazmat.primitives.ciphers.algorithms.SEED`,
    :class:`~cryptography.hazmat.primitives.ciphers.algorithms.IDEA`, and
    :class:`~cryptography.hazmat.primitives.ciphers.algorithms.Blowfish` because

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=153
2022-05-24 06:59:20 +00:00
1e2fb48fc3 Accepting request 970348 from devel:languages:python
- drops CVE-2020-36242-buffer-overflow.patch on older dists
- drops 5507-mitigate-Bleichenbacher-attacks.patch on older dists

OBS-URL: https://build.opensuse.org/request/show/970348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=63
2022-04-20 15:03:47 +00:00
d065a868d9 - drops CVE-2020-36242-buffer-overflow.patch on older dists
- drops 5507-mitigate-Bleichenbacher-attacks.patch on older dists

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=151
2022-04-15 12:58:16 +00:00
48e8cf7e7a Accepting request 969844 from devel:languages:python
- update to 3.3.2 (bsc#1182066, CVE-2020-36242, bsc#1198331):

OBS-URL: https://build.opensuse.org/request/show/969844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=62
2022-04-13 19:04:35 +00:00
1f9ae122bd - update to 3.3.2 (bsc#1182066, CVE-2020-36242, bsc#1198331):
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=149
2022-04-13 11:28:38 +00:00
a967137efe Accepting request 969246 from devel:languages:python
- update to 3.3.2 (bsc#1182066, CVE-2020-36242):
- update to 3.2 (bsc#1178168, CVE-2020-25659):

OBS-URL: https://build.opensuse.org/request/show/969246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=61
2022-04-12 19:50:20 +00:00
49825bc44a - update to 3.3.2 (bsc#1182066, CVE-2020-36242):
- update to 3.2 (bsc#1178168, CVE-2020-25659):

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=147
2022-04-11 16:15:31 +00:00
16cb800b6e Accepting request 965085 from devel:languages:python
- update to 36.0.2:
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 1.1.1n.

OBS-URL: https://build.opensuse.org/request/show/965085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=60
2022-03-29 16:13:56 +00:00
d00e37f61b - update to 36.0.2:
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 1.1.1n.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=145
2022-03-26 20:10:27 +00:00
77c91c5af9 Accepting request 955476 from devel:languages:python
- split tests in a multibuild variant to optimize rebuild time a bit

OBS-URL: https://build.opensuse.org/request/show/955476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=59
2022-02-17 22:39:59 +00:00
693c29aab3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=144 2022-02-16 19:56:54 +00:00
d35be4dda9 - split tests in a multibuild variant to optimize rebuild time a bit
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=143
2022-02-16 19:00:35 +00:00
98c2db2459 Accepting request 941719 from devel:languages:python
- update to 36.0.1:
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 1.1.1m.

OBS-URL: https://build.opensuse.org/request/show/941719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=58
2021-12-22 19:17:43 +00:00
b40bbd7bdf - update to 36.0.1:
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 1.1.1m.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=142
2021-12-20 22:57:23 +00:00
438d037675 Accepting request 934527 from devel:languages:python
- update to 36.0.0:
  * FINAL DEPRECATION Support for verifier and signer on our asymmetric key
    classes was deprecated in version 2.1. These functions had an extended
    deprecation due to usage, however the next version of cryptography will
    drop support. Users should migrate to sign and verify.
  * The entire X.509 layer is now written in Rust. This allows alternate
    asymmetric key implementations that can support cloud key management
    services or hardware security modules provided they implement the necessary
    interface (for example: EllipticCurvePrivateKey).
  * Deprecated the backend argument for all functions.
  * Added support for AESOCB3.
  * Added support for iterating over arbitrary request attributes.
  * Deprecated the get_attribute_for_oid method on CertificateSigningRequest in
    favor of get_attribute_for_oid() on the new Attributes object.
  * Fixed handling of PEM files to allow loading when certificate and key are
    in the same file.
  * Fixed parsing of CertificatePolicies extensions containing legacy BMPString values in their explicitText.
  * Allow parsing of negative serial numbers in certificates. Negative serial
    numbers are prohibited by RFC 5280 so a deprecation warning will be raised
    whenever they are encountered. A future version of cryptography will drop
    support for parsing them.
  * Added support for parsing PKCS12 files with friendly names for all
    certificates with load_pkcs12(), which will return an object of type
    PKCS12KeyAndCertificates.
  * rfc4514_string() and related methods now have an optional
    attr_name_overrides parameter to supply custom OID to name mappings, which
    can be used to match vendor-specific extensions.
  * BACKWARDS INCOMPATIBLE: Reverted the nonstandard formatting of email
    address fields as E in rfc4514_string() methods from version 35.0.
  * The previous behavior can be restored with:

OBS-URL: https://build.opensuse.org/request/show/934527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=57
2021-12-12 20:27:31 +00:00
9758108b69 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=141 2021-11-29 11:46:59 +00:00
86a0858977 Accepting request 934514 from home:dirkmueller:Factory
- update to 36.0.0:
  * FINAL DEPRECATION Support for verifier and signer on our asymmetric key
    classes was deprecated in version 2.1. These functions had an extended
    deprecation due to usage, however the next version of cryptography will
    drop support. Users should migrate to sign and verify.
  * The entire X.509 layer is now written in Rust. This allows alternate
    asymmetric key implementations that can support cloud key management
    services or hardware security modules provided they implement the necessary
    interface (for example: EllipticCurvePrivateKey).
  * Deprecated the backend argument for all functions.
  * Added support for AESOCB3.
  * Added support for iterating over arbitrary request attributes.
  * Deprecated the get_attribute_for_oid method on CertificateSigningRequest in
    favor of get_attribute_for_oid() on the new Attributes object.
  * Fixed handling of PEM files to allow loading when certificate and key are
    in the same file.
  * Fixed parsing of CertificatePolicies extensions containing legacy BMPString values in their explicitText.
  * Allow parsing of negative serial numbers in certificates. Negative serial
    numbers are prohibited by RFC 5280 so a deprecation warning will be raised
    whenever they are encountered. A future version of cryptography will drop
    support for parsing them.
  * Added support for parsing PKCS12 files with friendly names for all
    certificates with load_pkcs12(), which will return an object of type
    PKCS12KeyAndCertificates.
  * rfc4514_string() and related methods now have an optional
    attr_name_overrides parameter to supply custom OID to name mappings, which
    can be used to match vendor-specific extensions.
  * BACKWARDS INCOMPATIBLE: Reverted the nonstandard formatting of email
    address fields as E in rfc4514_string() methods from version 35.0.
  * The previous behavior can be restored with:

OBS-URL: https://build.opensuse.org/request/show/934514
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=140
2021-11-29 11:07:36 +00:00
ef01381fb4 Accepting request 924991 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/924991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=56
2021-10-25 13:17:00 +00:00
f943f3caf8 Accepting request 924948 from home:bnavigator:branches:devel:languages:python
- Add disable-RustExtension.patch in order to avoid a build
  requirement setuptools_rust
- Next version (35.0) needs a full Rust toolchain.
- Clean runtime, build and test requirements
- Disable python2 build: Not supported anymore

OBS-URL: https://build.opensuse.org/request/show/924948
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=139
2021-10-13 00:59:08 +00:00
235e4ac2e6 Accepting request 922968 from system:homeautomation:home-assistant:unstable
- update to 3.4.8
- keep new rust support disabled for now to avoid new dependencies

OBS-URL: https://build.opensuse.org/request/show/922968
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=138
2021-10-04 21:39:33 +00:00
8335204ed9 Accepting request 888465 from devel:languages:python
- Remove unnecessary %ifpython3 construct

OBS-URL: https://build.opensuse.org/request/show/888465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=55
2021-04-27 19:34:16 +00:00
b02abbbf1c - Remove unnecessary %ifpython3 construct
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=136
2021-04-26 10:07:18 +00:00
d11115dc15 Accepting request 870297 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/870297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=54
2021-02-16 21:33:48 +00:00
86fe90af53 Accepting request 870132 from home:stroeder:branches:devel:languages:python
- update to 3.3.2:
  * SECURITY ISSUE: Fixed a bug where certain sequences of update()
    calls when symmetrically encrypting very large payloads (>2GB) could
    result in an integer overflow, leading to buffer overflows.
    CVE-2020-36242

OBS-URL: https://build.opensuse.org/request/show/870132
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=134
2021-02-08 14:51:39 +00:00
ce08fb7366 Accepting request 857128 from devel:languages:python
- update to 3.3.1:
  * Re-added a legacy symbol causing problems for older ``pyOpenSSL`` use

OBS-URL: https://build.opensuse.org/request/show/857128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=53
2020-12-23 13:19:28 +00:00
ad9919cf53 - update to 3.3.1:
* Re-added a legacy symbol causing problems for older ``pyOpenSSL`` use

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=132
2020-12-20 10:25:05 +00:00
31aa045b6c 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
2020-12-12 19:29:32 +00:00
2bc3285d02 Accepting request 854259 from home:darix:apps
update to 3.3

OBS-URL: https://build.opensuse.org/request/show/854259
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=130
2020-12-09 14:02:46 +00:00
696e7c78cc Accepting request 853432 from home:mcepl:branches:devel:tools:scm
- Remove unnecessary dependency virtualenv.

OBS-URL: https://build.opensuse.org/request/show/853432
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=129
2020-12-07 05:05:38 +00:00
041e40cabb Accepting request 844675 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/844675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=51
2020-11-02 08:38:43 +00:00
021f24b88a Accepting request 844617 from home:stroeder:branches:devel:languages:python
update to 3.2.1

OBS-URL: https://build.opensuse.org/request/show/844617
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=127
2020-10-28 21:43:09 +00:00
ea489a9bb4 Accepting request 844069 from home:stroeder:branches:devel:languages:python
- update to 3.2:
  * CVE-2020-25659: Attempted to make RSA PKCS#1v1.5 decryption more constant time,
    to protect against Bleichenbacher vulnerabilities. Due to limitations imposed
    by our API, we cannot completely mitigate this vulnerability.
  * Support for OpenSSL 1.0.2 has been removed.
  * Added basic support for PKCS7 signing (including SMIME) via PKCS7SignatureBuilder.

OBS-URL: https://build.opensuse.org/request/show/844069
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=126
2020-10-26 14:11:17 +00:00
4ba9d27213 - update to 3.1.1:
* wheels compiled with OpenSSL 1.1.1h.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=125
2020-09-28 10:55:56 +00:00
6b9b120500 - update to 3.1:
* **BACKWARDS INCOMPATIBLE:** Removed support for ``idna`` based
    :term:`U-label` parsing in various X.509 classes. This support was originally
    deprecated in version 2.1 and moved to an extra in 2.5.
  * Deprecated OpenSSL 1.0.2 support. OpenSSL 1.0.2 is no longer supported by
    the OpenSSL project. The next version of ``cryptography`` will drop support
    for it.
  * Deprecated support for Python 3.5. This version sees very little use and will
    be removed in the next release.
  * ``backend`` arguments to functions are no longer required and the
    default backend will automatically be selected if no ``backend`` is provided.
  * Added initial support for parsing certificates from PKCS7 files with
    :func:`~cryptography.hazmat.primitives.serialization.pkcs7.load_pem_pkcs7_certificates`
    and
    :func:`~cryptography.hazmat.primitives.serialization.pkcs7.load_der_pkcs7_certificates`
    .
  * Calling ``update`` or ``update_into`` on
    :class:`~cryptography.hazmat.primitives.ciphers.CipherContext` with ``data``
    longer than 2\ :sup:`31` bytes no longer raises an ``OverflowError``. This
    also resolves the same issue in :doc:`/fernet`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=124
2020-09-18 11:16:26 +00:00
04a85d9cd6 Accepting request 823211 from devel:languages:python
- update to 3.0
- refreshed disable-uneven-sizes-tests.patch and  skip_openssl_memleak_test.patch
 * Removed support for passing an Extension instance
    to from_issuer_subject_key_identifier(), as per our deprecation policy.
 * Support for LibreSSL 2.7.x, 2.8.x, and 2.9.0 has been removed
 * Dropped support for macOS 10.9, macOS users must upgrade to 10.10 or newer.
 * RSA generate_private_key() no longer accepts public_exponent values except
    65537 and 3 (the latter for legacy purposes).
 * X.509 certificate parsing now enforces that the version field contains
    a valid value, rather than deferring this check until version is accessed.
 * Deprecated support for Python 2
 * Added support for OpenSSH serialization format for ec, ed25519, rsa and dsa
    private keys: load_ssh_private_key() for loading and OpenSSH for writing.
 * Added support for OpenSSH certificates to load_ssh_public_key().
 * Added encrypt_at_time() and decrypt_at_time() to Fernet.
 * Added support for the SubjectInformationAccess X.509 extension.
 * Added support for parsing SignedCertificateTimestamps in OCSP responses.
 * Added support for parsing attributes in certificate signing requests via get_attribute_for_oid().
 * Added support for encoding attributes in certificate signing requests via add_attribute().
 * On OpenSSL 1.1.1d and higher cryptography now uses OpenSSL’s built-in CSPRNG
    instead of its own OS random engine because these versions of OpenSSL properly reseed on fork.
 * Added initial support for creating PKCS12 files with serialize_key_and_certificates().

OBS-URL: https://build.opensuse.org/request/show/823211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=50
2020-08-01 10:31:06 +00:00
5622a86892 - update to 3.0
- refreshed disable-uneven-sizes-tests.patch and  skip_openssl_memleak_test.patch
 * Removed support for passing an Extension instance
    to from_issuer_subject_key_identifier(), as per our deprecation policy.
 * Support for LibreSSL 2.7.x, 2.8.x, and 2.9.0 has been removed
 * Dropped support for macOS 10.9, macOS users must upgrade to 10.10 or newer.
 * RSA generate_private_key() no longer accepts public_exponent values except
    65537 and 3 (the latter for legacy purposes).
 * X.509 certificate parsing now enforces that the version field contains
    a valid value, rather than deferring this check until version is accessed.
 * Deprecated support for Python 2
 * Added support for OpenSSH serialization format for ec, ed25519, rsa and dsa
    private keys: load_ssh_private_key() for loading and OpenSSH for writing.
 * Added support for OpenSSH certificates to load_ssh_public_key().
 * Added encrypt_at_time() and decrypt_at_time() to Fernet.
 * Added support for the SubjectInformationAccess X.509 extension.
 * Added support for parsing SignedCertificateTimestamps in OCSP responses.
 * Added support for parsing attributes in certificate signing requests via get_attribute_for_oid().
 * Added support for encoding attributes in certificate signing requests via add_attribute().
 * On OpenSSL 1.1.1d and higher cryptography now uses OpenSSL’s built-in CSPRNG
    instead of its own OS random engine because these versions of OpenSSL properly reseed on fork.
 * Added initial support for creating PKCS12 files with serialize_key_and_certificates().

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=122
2020-07-28 17:32:18 +00:00
83e4d4a20f Accepting request 805793 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/805793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=49
2020-05-28 07:06:29 +00:00
Tomáš Chvátal
5385207b84 Accepting request 805791 from home:stroeder:branches:devel:languages:python
update to 2.9.2 (tested on Tumbleweed x86_64)

OBS-URL: https://build.opensuse.org/request/show/805791
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=120
2020-05-15 10:03:46 +00:00
937c371e80 Accepting request 741038 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/741038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=48
2019-11-04 16:07:02 +00:00
Tomáš Chvátal
388e9b6688 Accepting request 740730 from home:stroeder:branches:devel:languages:python
update to 2.8 (mportant for Python 3.8)

OBS-URL: https://build.opensuse.org/request/show/740730
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=118
2019-10-18 10:16:50 +00:00
d49cadd4ab Accepting request 707591 from devel:languages:python
- update to 2.7
 * BACKWARDS INCOMPATIBLE: Removed the cryptography.hazmat.primitives.mac.MACContext interface.
   The CMAC and HMAC APIs have not changed, but they are no longer registered
   as MACContext instances.
 * Removed support for running our tests with setup.py test.
 * Add support for :class:`~cryptography.hazmat.primitives.poly1305.Poly1305`
   when using OpenSSL 1.1.1 or newer.
 * Support serialization with Encoding.OpenSSH and PublicFormat.OpenSSH
   in :meth:`Ed25519PublicKey.public_bytes <cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey.public_bytes>` .
 * Correctly allow passing a SubjectKeyIdentifier to :meth:`~cryptography.x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier`
   and deprecate passing an Extension object.

- Simplify the test execution to be more understandable

OBS-URL: https://build.opensuse.org/request/show/707591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=47
2019-06-18 12:45:55 +00:00
fe2262916c - update to 2.7
* BACKWARDS INCOMPATIBLE: Removed the cryptography.hazmat.primitives.mac.MACContext interface.
   The CMAC and HMAC APIs have not changed, but they are no longer registered
   as MACContext instances.
 * Removed support for running our tests with setup.py test.
 * Add support for :class:`~cryptography.hazmat.primitives.poly1305.Poly1305`
   when using OpenSSL 1.1.1 or newer.
 * Support serialization with Encoding.OpenSSH and PublicFormat.OpenSSH
   in :meth:`Ed25519PublicKey.public_bytes <cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey.public_bytes>` .
 * Correctly allow passing a SubjectKeyIdentifier to :meth:`~cryptography.x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier`
   and deprecate passing an Extension object.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=116
2019-06-03 13:48:58 +00:00
Tomáš Chvátal
c3ce8bdbcc OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=115 2019-05-29 15:01:33 +00:00
Tomáš Chvátal
ecd325a1e4 - Simplify the test execution to be more understandable
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=114
2019-05-29 15:01:07 +00:00
b9689331e7 Accepting request 680378 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/680378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=46
2019-03-04 08:10:03 +00:00
Tomáš Chvátal
8f97047f3b Accepting request 680280 from home:stroeder:branches:devel:languages:python
update to 2.6.1

OBS-URL: https://build.opensuse.org/request/show/680280
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=112
2019-03-01 08:03:10 +00:00
Stephan Kulow
b7533af1f6 Accepting request 669488 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/669488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=45
2019-02-02 20:45:33 +00:00
Tomáš Chvátal
c661858933 Accepting request 669484 from home:stroeder:branches:devel:languages:python
- Dependency on python-idna changed to "Recommends" aligned with
  change in upstream source (see below)
- update to 2.5:
  * BACKWARDS INCOMPATIBLE: U-label strings were deprecated in version 2.1, 
    but this version removes the default idna dependency as well. If you still 
    need this deprecated path please install cryptography with the idna extra: 
    pip install cryptography[idna].
  * BACKWARDS INCOMPATIBLE: The minimum supported PyPy version is now 5.4.
  * Numerous classes and functions have been updated to allow bytes-like 
    types for keying material and passwords, including symmetric algorithms, 
    AEAD ciphers, KDFs, loading asymmetric keys, and one time password classes.
  * Updated Windows, macOS, and manylinux1 wheels to be compiled with OpenSSL 1.1.1a.
  * Added support for SHA512_224 and SHA512_256 when using OpenSSL 1.1.1.
  * Added support for SHA3_224, SHA3_256, SHA3_384, and SHA3_512 when using OpenSSL 1.1.1.
  * Added support for X448 key exchange when using OpenSSL 1.1.1.
  * Added support for SHAKE128 and SHAKE256 when using OpenSSL 1.1.1.
  * Added initial support for parsing PKCS12 files with load_key_and_certificates().
  * Added support for IssuingDistributionPoint.
  * Added rfc4514_string() method to x509.Name, 
    x509.RelativeDistinguishedName, and x509.NameAttribute to format the name 
    or component an RFC 4514 Distinguished Name string.
  * Added from_encoded_point(), which immediately checks if the point is on 
    the curve and supports compressed points. Deprecated the previous method 
    from_encoded_point().
  * Added signature_hash_algorithm to OCSPResponse.
  * Updated X25519 key exchange support to allow additional serialization 
    methods. Calling public_bytes() with no arguments has been deprecated.
  * Added support for encoding compressed and uncompressed points via 
    public_bytes(). Deprecated the previous method encode_point().

OBS-URL: https://build.opensuse.org/request/show/669484
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=110
2019-01-29 09:59:04 +00:00
c932007aa6 Accepting request 662651 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/662651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=44
2019-01-08 11:17:05 +00:00
Tomáš Chvátal
2daa290922 Accepting request 662647 from devel:languages:python:avocado
- Update to version 2.4.2:
  * Updated Windows, macOS, and manylinux1 wheels to be compiled
    with OpenSSL 1.1.0j.

OBS-URL: https://build.opensuse.org/request/show/662647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=108
2019-01-03 12:07:59 +00:00
045f085613 Accepting request 659254 from devel:languages:python
- Update to 2.4.1:
    * Dropped support for LibreSSL 2.4.x.
    * Deprecated OpenSSL 1.0.1 support. OpenSSL 1.0.1 is no
      longer supported by the OpenSSL project. At this time there
      is no time table for dropping support, however we strongly
      encourage all users to upgrade or install cryptography from
      a wheel.
    * Added initial :doc:`OCSP </x509/ocsp>` support.
    * Added support for cryptography.x509.PrecertPoison.

OBS-URL: https://build.opensuse.org/request/show/659254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=43
2018-12-21 07:19:16 +00:00
49b265d4f1 Accepting request 655598 from devel:languages:python
- Fix fdupes call

OBS-URL: https://build.opensuse.org/request/show/655598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=42
2018-12-14 19:45:53 +00:00
25faabaf24 - Update to 2.4.1:
* Dropped support for LibreSSL 2.4.x.
    * Deprecated OpenSSL 1.0.1 support. OpenSSL 1.0.1 is no
      longer supported by the OpenSSL project. At this time there
      is no time table for dropping support, however we strongly
      encourage all users to upgrade or install cryptography from
      a wheel.
    * Added initial :doc:`OCSP </x509/ocsp>` support.
    * Added support for cryptography.x509.PrecertPoison.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=105
2018-12-06 12:18:27 +00:00
Tomáš Chvátal
56954fb82e - Fix fdupes call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=104
2018-12-06 11:48:48 +00:00
327f450d76 Accepting request 630716 from devel:languages:python
- Update to 2.3.1:
  * updated tests for upstream wycheproof changes
  * many other tiny test tweaks

OBS-URL: https://build.opensuse.org/request/show/630716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=41
2018-08-28 07:22:11 +00:00
Tomáš Chvátal
3e285f9342 - Update to 2.3.1:
* updated tests for upstream wycheproof changes
  * many other tiny test tweaks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=102
2018-08-21 07:54:08 +00:00
e3690d14c6 Accepting request 623675 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/623675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=40
2018-07-21 08:09:06 +00:00
Tomáš Chvátal
615f36f655 Accepting request 623674 from home:stroeder:branches:devel:languages:python
- update to 2.3:
  * SECURITY ISSUE: finalize_with_tag() allowed tag truncation by default 
    which can allow tag forgery in some cases. The method now enforces the 
    min_tag_length provided to the GCM constructor.
  * Added support for Python 3.7.
  * Added extract_timestamp() to get the authenticated timestamp of a Fernet token.
  * Support for Python 2.7.x without hmac.compare_digest has been deprecated. 
    We will require Python 2.7.7 or higher (or 2.7.6 on Ubuntu) in the next 
    cryptography release.
  * Fixed multiple issues preventing cryptography from compiling
    against LibreSSL 2.7.x.
  * Added get_revoked_certificate_by_serial_number for quick
    serial number searches in CRLs.
  * The RelativeDistinguishedName class now preserves the order of attributes.
    Duplicate attributes now raise an error instead of silently discarding duplicates.
  * aes_key_unwrap() and aes_key_unwrap_with_padding() now raise InvalidUnwrap
    if the wrapped key is an invalid length, instead of ValueError.

OBS-URL: https://build.opensuse.org/request/show/623674
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=100
2018-07-18 14:32:41 +00:00
73d95410d2 Accepting request 616244 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/616244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=39
2018-06-22 11:14:16 +00:00
Tomáš Chvátal
e832d4dbf8 Accepting request 616242 from home:mimi_vx:branches:devel:languages:python
- update to 2.2.2
  * fix build on some systems with openssl 1.1.0h

OBS-URL: https://build.opensuse.org/request/show/616242
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=98
2018-06-12 08:00:09 +00:00
4f3c262e42 Accepting request 591618 from devel:languages:python
- Cleanup with spec-cleaner
- Use %setup to unpack all archives do not rely on tar calls

- Update to upstream release 2.2.1:
  * Reverted a change to GeneralNames which prohibited having zero elements,
    due to breakages.
  * Fixed a bug in
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding`
    that caused it to raise InvalidUnwrap when key length modulo 8 was zero.
  * BACKWARDS INCOMPATIBLE: Support for Python 2.6 has been dropped.
  * Resolved a bug in HKDF that incorrectly constrained output size.
  * Added
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP256R1`,
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP384R1`, and
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP512R1` to
    support inter-operating with systems like German smart meters.
  * Added token rotation support to :doc:`Fernet </fernet>` with
    :meth:`~cryptography.fernet.MultiFernet.rotate`.
  * Fixed a memory leak in
    :func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`.
  * Added support for AES key wrapping with padding via
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_wrap_with_padding` and
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding` .
* Allow loading DSA keys with 224 bit q.

OBS-URL: https://build.opensuse.org/request/show/591618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=38
2018-03-30 09:59:02 +00:00
Tomáš Chvátal
fb93670dd3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=96 2018-03-27 13:15:02 +00:00
Tomáš Chvátal
35fed52986 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=95 2018-03-27 12:55:23 +00:00
Tomáš Chvátal
bb01e86150 - Cleanup with spec-cleaner
- Use %setup to unpack all archives do not rely on tar calls
- Update to upstream release 2.2.1:
  * Reverted a change to GeneralNames which prohibited having zero elements,
    due to breakages.
  * Fixed a bug in
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding`
    that caused it to raise InvalidUnwrap when key length modulo 8 was zero.
  * BACKWARDS INCOMPATIBLE: Support for Python 2.6 has been dropped.
  * Resolved a bug in HKDF that incorrectly constrained output size.
  * Added
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP256R1`,
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP384R1`, and
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP512R1` to
    support inter-operating with systems like German smart meters.
  * Added token rotation support to :doc:`Fernet </fernet>` with
    :meth:`~cryptography.fernet.MultiFernet.rotate`.
  * Fixed a memory leak in
    :func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`.
  * Added support for AES key wrapping with padding via
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_wrap_with_padding` and
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding` .
* Allow loading DSA keys with 224 bit q.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=94
2018-03-26 07:50:13 +00:00
Tomáš Chvátal
436a448dcb Accepting request 590930 from home:stroeder:branches:devel:languages:python
- Update to upstream release 2.2.1

OBS-URL: https://build.opensuse.org/request/show/590930
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=93
2018-03-26 07:42:54 +00:00
2cfbc35264 Accepting request 582074 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/582074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=37
2018-03-06 09:44:35 +00:00
Tomáš Chvátal
06442f25ba Accepting request 582047 from home:computersalat:devel:python
fix deps for hypothesis, pytest

OBS-URL: https://build.opensuse.org/request/show/582047
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=91
2018-03-02 21:42:20 +00:00
3e52582a98 Accepting request 574139 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/574139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=36
2018-02-12 09:09:48 +00:00
a423e36678 Accepting request 574138 from home:tbechtold:branches:devel:languages:python
- Fix previous change and explicitly require python2 instead of
  python because python itself is also provided by python3.
  This fixes:
  ImportError: No module named _ssl
  when using python-cryptography in a python2 build environment

OBS-URL: https://build.opensuse.org/request/show/574138
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=89
2018-02-08 10:56:56 +00:00
a259001231 Accepting request 572222 from devel:languages:python
- Fix the previous change to not pull in py2 on py3 enviroment

- fix requires on python ssl once more after the last change

OBS-URL: https://build.opensuse.org/request/show/572222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=35
2018-02-06 15:41:13 +00:00
Tomáš Chvátal
7b58b3cbbf - Fix the previous change to not pull in py2 on py3 enviroment
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=87
2018-02-03 13:02:25 +00:00
bfe5405542 - fix requires on python ssl once more after the last change
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=86
2018-01-27 11:25:35 +00:00
05d6306cab OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=85 2018-01-27 10:42:10 +00:00
3f4a0d6078 Accepting request 567426 from devel:languages:python
- Add proper conditional for the python2, the ifpython works only
  for the requires/etc

- add missing dependency on python ssl

OBS-URL: https://build.opensuse.org/request/show/567426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=34
2018-01-20 10:26:01 +00:00
Tomáš Chvátal
cf6137bc31 - Add proper conditional for the python2, the ifpython works only
for the requires/etc

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=83
2018-01-18 13:31:34 +00:00
2a021588d7 - add missing dependency on python ssl
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=82
2018-01-16 10:27:31 +00:00
b49e67a041 Accepting request 555394 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/555394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=33
2017-12-10 17:16:02 +00:00
34bc6f8dc6 Accepting request 555319 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/555319
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=80
2017-12-08 20:57:03 +00:00
ad36320992 Accepting request 540642 from devel:languages:python
- update to version 2.1.3:
  * Updated Windows, macOS, and manylinux1 wheels to be compiled with
    OpenSSL 1.1.0g.

- update to version 2.1.2:
  * Corrected a bug with the manylinux1 wheels where OpenSSL’s stack
    was marked executable.

OBS-URL: https://build.opensuse.org/request/show/540642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=32
2017-11-12 17:00:56 +00:00
bf0f957a49 osc copypac from project:devel:languages:python package:python-cryptography revision:76
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=78
2017-11-10 19:27:10 +00:00
87aad2f50b Accepting request 540637 from home:mimi_vx:branches:devel:languages:python
- fix build on systems without python2

OBS-URL: https://build.opensuse.org/request/show/540637
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=77
2017-11-10 19:14:45 +00:00
d3741ae2d0 Accepting request 540294 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/540294
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=76
2017-11-10 11:31:46 +00:00
d42cef9776 Accepting request 538420 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/538420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=31
2017-11-09 12:43:49 +00:00
Jan Matejek
48aa0c1e36 Accepting request 538281 from home:mimi_vx:branches:devel:languages:python
- fix BuildRequires conditions for python3

OBS-URL: https://build.opensuse.org/request/show/538281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=74
2017-11-02 15:19:19 +00:00
Michael Ströder
d2b7b6e0d6 Accepting request 533599 from home:stroeder:branches:devel:languages:python
- update to 2.1.1

OBS-URL: https://build.opensuse.org/request/show/533599
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=73
2017-10-23 08:26:10 +00:00
31c7e28484 Accepting request 529889 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/529889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=30
2017-10-02 14:48:12 +00:00
Jan Matejek
5d825e4739 Accepting request 529157 from home:seanmarlow:branches:devel:languages:python
Fix cffi version requirement should be >= 1.7.

OBS-URL: https://build.opensuse.org/request/show/529157
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=71
2017-09-29 10:42:10 +00:00
690e8830d7 Accepting request 522024 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/522024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=29
2017-09-09 18:24:11 +00:00
Jan Matejek
ba38ae853f Accepting request 521999 from home:vitezslav_cizek:branches:devel:languages:python
- Disable memleak tests to fix build with OpenSSL 1.1 (bsc#1055478)
  * add skip_openssl_memleak_test.patch

OBS-URL: https://build.opensuse.org/request/show/521999
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=69
2017-09-07 14:49:40 +00:00
64ebd6b0ae Accepting request 514577 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/514577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=28
2017-08-10 11:44:50 +00:00
Jan Matejek
cb4e6be407 Accepting request 514489 from home:stroeder:branches:devel:languages:python
update to upstream release 2.0.3

OBS-URL: https://build.opensuse.org/request/show/514489
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=67
2017-08-04 15:54:45 +00:00
Thomas Bechtold
730ca5a4ed Accepting request 512776 from home:stroeder:branches:devel:languages:python
update to 2.0.2

OBS-URL: https://build.opensuse.org/request/show/512776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=66
2017-07-27 16:26:56 +00:00
Thomas Bechtold
22c7f5f273 Accepting request 511032 from home:stroeder:branches:devel:languages:python
update to 2.0

OBS-URL: https://build.opensuse.org/request/show/511032
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=65
2017-07-19 17:53:23 +00:00
4a5c576531 Accepting request 504534 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/504534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=27
2017-06-21 11:50:33 +00:00
5a86dd5a31 Accepting request 501200 from home:stroeder:branches:devel:languages:python
update to upstream release 1.9

OBS-URL: https://build.opensuse.org/request/show/501200
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=63
2017-06-18 21:37:30 +00:00
f769059988 Accepting request 492483 from devel:languages:python
- add python-packaging to requirements explicitly instead of relying
  on setuptools to pull it in

OBS-URL: https://build.opensuse.org/request/show/492483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=26
2017-05-16 12:28:08 +00:00
Jan Matejek
08cc8a9bfd - add python-packaging to requirements explicitly instead of relying
on setuptools to pull it in

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=61
2017-05-02 13:10:17 +00:00
686805f75b Accepting request 483838 from devel:languages:python
- Switch to singlespec approach (forwarded request 483837 from matejcik)

OBS-URL: https://build.opensuse.org/request/show/483838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=25
2017-04-19 16:06:03 +00:00
Jan Matejek
00ec0fea30 Accepting request 483837 from devel:languages:python:singlespec
- Switch to singlespec approach

OBS-URL: https://build.opensuse.org/request/show/483837
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=59
2017-03-30 14:12:18 +00:00
Jan Matejek
4c597459d2 Accepting request 480638 from home:tbechtold:branches:devel:languages:python
- update to 1.8.1
- Adust Requires and BuildRequires

OBS-URL: https://build.opensuse.org/request/show/480638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=58
2017-03-16 14:49:25 +00:00
57ae83f78d Accepting request 453631 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/453631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=24
2017-02-05 14:45:51 +00:00
8db08a0f18 Accepting request 453278 from home:stroeder:branches:devel:languages:python
update to 1.7.2 (with minor non-Linux change)

OBS-URL: https://build.opensuse.org/request/show/453278
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=56
2017-01-31 14:46:55 +00:00
Ludwig Nussel
c7fe6e024f Accepting request 446342 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/446342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=23
2016-12-26 20:39:43 +00:00
be9e114990 Accepting request 446208 from home:stroeder:branches:devel:languages:python
Update to 1.7.1 with regression fix for 1.7. Do *not* forward 1.7 to Factory! It fails.

OBS-URL: https://build.opensuse.org/request/show/446208
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=54
2016-12-15 08:07:36 +00:00
Jan Matejek
a4ac52c5f6 Accepting request 445586 from home:mimi_vx:branches:devel:languages:python
- update to 1.7
* support for OpenSSL 1.0.0 has been removed.
* Added support for Diffie-Hellman key exchange
* The OS random engine for OpenSSL has been rewritten

OBS-URL: https://build.opensuse.org/request/show/445586
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=53
2016-12-13 16:54:44 +00:00
a9162b52d5 Accepting request 442567 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/442567
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=22
2016-12-05 15:31:49 +00:00
e4f2c7af84 Accepting request 441534 from home:stroeder:branches:devel:languages:python
update to upstream release 1.6

OBS-URL: https://build.opensuse.org/request/show/441534
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=51
2016-11-29 08:36:52 +00:00
b48f6e090e Accepting request 440000 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/440000
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=21
2016-11-17 11:21:53 +00:00
244ab523eb Accepting request 439940 from home:stroeder:branches:devel:languages:python
update to upstream update 1.5.3 (works for me for OATH-LDAP with new python-jwcrypto on Tumbleweed x86_64)

OBS-URL: https://build.opensuse.org/request/show/439940
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=49
2016-11-12 07:43:15 +00:00
873b21c3b2 Accepting request 430527 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/430527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=20
2016-09-28 13:04:02 +00:00
91095fb280 Accepting request 430429 from home:msmeissn:branches:devel:languages:python
- python-cryptography-enable-gost.patch: temporary patch
  to run tests against 1.0.2i, GOST cert extraction now works.

OBS-URL: https://build.opensuse.org/request/show/430429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=47
2016-09-27 09:43:50 +00:00
40cd3e61cd Accepting request 411660 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/411660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=19
2016-07-27 14:30:01 +00:00
Thomas Bechtold
cb531bfd99 Accepting request 411483 from home:matwey:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/411483
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=45
2016-07-18 05:46:45 +00:00
1f65bcad49 Accepting request 400280 from devel:languages:python
- fix download urls

- update to upstream release 1.3.4
  * Added new OpenSSL functions to the bindings to support an upcoming
    ``pyOpenSSL`` release.

- correct source urls

- update to upstream release 1.3.2
  * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2h.
  * Fixed an issue preventing ``cryptography`` from compiling against
    LibreSSL 2.3.x.

OBS-URL: https://build.opensuse.org/request/show/400280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=18
2016-06-12 16:53:26 +00:00
c14f670013 - fix download urls
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=43
2016-06-06 13:03:46 +00:00
f72eb578f2 * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2h.
* Fixed an issue preventing ``cryptography`` from compiling against
    LibreSSL 2.3.x.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=42
2016-06-06 13:00:07 +00:00
4408804dee Accepting request 400022 from home:stroeder:branches:devel:languages:python
update to upstream release 1.3.4

OBS-URL: https://build.opensuse.org/request/show/400022
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=41
2016-06-06 11:20:11 +00:00
5c708a0b60 - correct source urls
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=40
2016-05-06 07:43:20 +00:00
b3952cd5e2 Accepting request 393935 from home:stroeder:branches:devel:languages:python
update to 1.3.2

OBS-URL: https://build.opensuse.org/request/show/393935
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=39
2016-05-06 07:32:31 +00:00
d9d87346ee Accepting request 379455 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/379455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=17
2016-03-29 07:51:18 +00:00
Todd R
5c4c68c8a1 Accepting request 377061 from home:stroeder:branches:devel:languages:python
update to 1.3.1

OBS-URL: https://build.opensuse.org/request/show/377061
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=37
2016-03-24 19:22:41 +00:00
eded9fbc0d Accepting request 371253 from devel:languages:python
- fix license

OBS-URL: https://build.opensuse.org/request/show/371253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=16
2016-03-18 20:36:08 +00:00
b67a1761f6 - fix license
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=35
2016-03-13 21:20:08 +00:00
93aa2e2581 Accepting request 366051 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/366051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=15
2016-03-05 10:21:43 +00:00
Todd R
78681f6686 Accepting request 365006 from home:dimstar:Factory
- Add pkg-config BuildRequires: in order for the last introduced
  condition to apply the patch to work, pkg-config has to be
  present.

OBS-URL: https://build.opensuse.org/request/show/365006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=33
2016-03-04 15:48:14 +00:00
c7db0b07f9 Accepting request 364667 from home:msmeissn:branches:devel:languages:python
- cryptography-new-bio-new-type.patch: openssl 1.0.2g changed
  the type of BIO_new_mem_buf() (added a const).

OBS-URL: https://build.opensuse.org/request/show/364667
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=32
2016-03-02 17:41:00 +00:00
32783f0122 Accepting request 352989 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/352989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=14
2016-01-15 09:39:19 +00:00
Todd R
b6b9b9ff49 Accepting request 352716 from home:stroeder:branches:devel:languages:python
update to upstream release 1.2.1 (needs python-cffi 1.4.1+, see also request #352713)

OBS-URL: https://build.opensuse.org/request/show/352716
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=30
2016-01-11 08:06:18 +00:00
25a22c4e7f Accepting request 352051 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/352051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=13
2016-01-08 14:39:04 +00:00
Jan Matejek
254ce426f2 Accepting request 351333 from home:stroeder:branches:devel:languages:python
update to 1.1.2

OBS-URL: https://build.opensuse.org/request/show/351333
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=28
2016-01-05 14:16:15 +00:00
df5182f6ed Accepting request 349706 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/349706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=12
2015-12-23 07:48:26 +00:00
Stephan Kulow
dc38a64c47 Accepting request 343788 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/343788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=11
2015-12-13 08:35:10 +00:00
061d49c008 - update to 1.1.1:
* Fixed several small bugs related to compiling the OpenSSL bindings with
    unusual OpenSSL configurations.
  * Resolved an issue where, depending on the method of installation and
    which Python interpreter they were using, users on El Capitan (OS X 10.11)
    may have seen an ``InternalError`` on import.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=25
2015-12-09 10:37:57 +00:00
c6867b02fd - fix build for sle11 (disable testsuite as it depends on python-hypothesis
which is not available for sle11 anymore)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=24
2015-12-09 10:20:38 +00:00
Todd R
eb54b1a6ae Accepting request 343324 from home:tbechtold:branches:devel:languages:python
- update to 1.1:
  * Added support for Elliptic Curve Diffie-Hellman with
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.ECDH`.
  * Added :class:`~cryptography.hazmat.primitives.kdf.x963kdf.X963KDF`.
  * Added support for parsing certificate revocation lists (CRLs) using
    :func:`~cryptography.x509.load_pem_x509_crl` and
    :func:`~cryptography.x509.load_der_x509_crl`.
  * Add support for AES key wrapping with
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_wrap` and
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap`.
  * Added a ``__hash__`` method to :class:`~cryptography.x509.Name`.
  * Add support for encoding and decoding elliptic curve points to a byte string
    form using
    :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers.encode_point`
    and
    :meth:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers.from_encoded_point`.
  * Added :meth:`~cryptography.x509.Extensions.get_extension_for_class`.
  * :class:`~cryptography.x509.CertificatePolicies` are now supported in the
    :class:`~cryptography.x509.CertificateBuilder`.
  * ``countryName`` is now encoded as a ``PrintableString`` when creating subject
    and issuer distinguished names with the Certificate and CSR builder classes.
  * **SECURITY ISSUE**: The OpenSSL backend prior to 1.0.2 made extensive use
    of assertions to check response codes where our tests could not trigger a
    failure.  However, when Python is run with ``-O`` these asserts are optimized
    away.  If a user ran Python with this flag and got an invalid response code
    this could result in undefined behavior or worse. Accordingly, all response
    checks from the OpenSSL backend have been converted from ``assert``
    to a true function call. Credit **Emilia Käsper (Google Security Team)**
    for the report.
  * We now ship OS X wheels that statically link OpenSSL by default. When

OBS-URL: https://build.opensuse.org/request/show/343324
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=23
2015-11-11 10:35:45 +00:00
Stephan Kulow
856ef37944 Accepting request 336992 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/336992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=10
2015-10-17 14:37:53 +00:00
b914a4524b - require the cffi version it was built against to avoid (bsc#948198)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=21
2015-09-30 12:19:25 +00:00
106ebe4d51 Accepting request 334805 from home:tbechtold:branches:devel:languages:python
- Add 2293.patch for "osrandom engine already registered" (bnc#947679)

OBS-URL: https://build.opensuse.org/request/show/334805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=20
2015-09-30 08:11:55 +00:00
Stephan Kulow
1860fb9a98 Accepting request 331806 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/331806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=9
2015-09-24 05:16:46 +00:00
Denisart Benjamin
c6e8ed4e4a Accepting request 331785 from Cloud:OpenStack:Master
- Add disable-uneven-sizes-tests.patch (bnc#944204)
  openssl in SLE12SP1 doesn't allow uneven bit sizes for rsa keys

OBS-URL: https://build.opensuse.org/request/show/331785
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=18
2015-09-17 14:30:34 +00:00
Stephan Kulow
5e9df7278a Accepting request 327582 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/327582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=8
2015-08-28 06:25:04 +00:00
9edc770d71 Accepting request 327560 from Cloud:OpenStack:Master
- update to 1.0 (fate#318838):

OBS-URL: https://build.opensuse.org/request/show/327560
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=16
2015-08-27 14:36:31 +00:00
eab80a567a Accepting request 325375 from home:tbechtold:branches:devel:languages:python
- update to 1.0:
  * Switched to the new `cffi`_ ``set_source`` out-of-line API mode for
    compilation. This results in significantly faster imports and lowered
    memory consumption. Due to this change we no longer support PyPy releases
    older than 2.6 nor do we support any released version of PyPy3 (until a
    version supporting cffi 1.0 comes out).
  * Fix parsing of OpenSSH public keys that have spaces in comments.
  * Support serialization of certificate signing requests using the
    ``public_bytes`` method of
    :class:`~cryptography.x509.CertificateSigningRequest`.
  * Support serialization of certificates using the ``public_bytes`` method of
    :class:`~cryptography.x509.Certificate`.
  * Add ``get_provisioning_uri`` method to
    :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP` and
    :class:`~cryptography.hazmat.primitives.twofactor.totp.TOTP` for generating
    provisioning URIs.
  * Add :class:`~cryptography.hazmat.primitives.kdf.concatkdf.ConcatKDFHash`
    and :class:`~cryptography.hazmat.primitives.kdf.concatkdf.ConcatKDFHMAC`.
  * Raise a ``TypeError`` when passing objects that are not text as the value to
    :class:`~cryptography.x509.NameAttribute`.
  * Add support for :class:`~cryptography.x509.OtherName` as a general name
    type.
  * Added new X.509 extension support in :class:`~cryptography.x509.Certificate`
    The following new extensions are now supported:
    * :class:`~cryptography.x509.OCSPNoCheck`
    * :class:`~cryptography.x509.InhibitAnyPolicy`
    * :class:`~cryptography.x509.IssuerAlternativeName`
    * :class:`~cryptography.x509.NameConstraints`
  * Extension support was added to
    :class:`~cryptography.x509.CertificateSigningRequest`.

OBS-URL: https://build.opensuse.org/request/show/325375
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=15
2015-08-24 08:43:13 +00:00
6d60cceff3 Accepting request 319490 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/319490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=7
2015-08-10 07:12:32 +00:00
Todd R
f4aa7a93bc Accepting request 319463 from Cloud:OpenStack:Master
- update to 0.9.3:
  * Updated Windows wheels to be compiled against OpenSSL 1.0.2d.
  * Updated Windows wheels to be compiled against OpenSSL 1.0.2c.
  * **SECURITY ISSUE**: Fixed a double free in the OpenSSL backend when using DSA
   to verify signatures. Note that this only affects PyPy 2.6.0 and (presently
   unreleased) CFFI versions greater than 1.1.0.
  * Removed support for Python 3.2. This version of Python is rarely used
    and caused support headaches. Users affected by this should upgrade to 3.3+.
  * Deprecated support for Python 2.6. At the time there is no time table for
    actually dropping support, however we strongly encourage all users to upgrade
    their Python, as Python 2.6 no longer receives support from the Python core
    team.
  * Add support for the
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.SECP256K1` elliptic
    curve.
  * Fixed compilation when using an OpenSSL which was compiled with the
    ``no-comp`` (``OPENSSL_NO_COMP``) option.
  * Support :attr:`~cryptography.hazmat.primitives.serialization.Encoding.DER`
    serialization of public keys using the ``public_bytes`` method of
    :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerialization`,
    :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKeyWithSerialization`,
    and
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWithSerialization`.
  * Support :attr:`~cryptography.hazmat.primitives.serialization.Encoding.DER`
    serialization of private keys using the ``private_bytes`` method of
    :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKeyWithSerialization`,
    :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization`,
    and
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization`.
  * Add support for parsing X.509 certificate signing requests (CSRs) with

OBS-URL: https://build.opensuse.org/request/show/319463
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=13
2015-07-30 06:33:42 +00:00
Stephan Kulow
72ca967053 Accepting request 298719 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/298719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=6
2015-04-25 07:52:38 +00:00
Michal Čihař
9577dee759 Accepting request 298717 from home:Nijel:branches:devel:languages:python
- Update to 0.8.2:
  * Fixed a race condition when initializing the OpenSSL or CommonCrypto backends
    in a multi-threaded scenario.

OBS-URL: https://build.opensuse.org/request/show/298717
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=11
2015-04-23 06:53:41 +00:00
eb9b1d6eb5 Accepting request 294760 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/294760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=5
2015-04-10 07:51:31 +00:00
Denisart Benjamin
eaaba6d072 Accepting request 294725 from home:tbechtold:branches:devel:languages:python
New upstream release

OBS-URL: https://build.opensuse.org/request/show/294725
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=9
2015-04-07 13:10:50 +00:00
9598a5217e Accepting request 279982 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/279982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=4
2015-01-09 19:50:21 +00:00
Jan Matejek
50d37a3ec6 - update to 0.7.1
* backwards-incompatible change: GCM module doesn't truncate tags
      by default anymore
    * removed deprecated arguments to MFG1 constructor
    * ECC support
    * added PEM and openssh key loading convenience methods
    * support for many new ciphers and new features of existing ones
    see CHANGELOG.rst for details
- spec cleanup
- reworked %check section
- added changelog to docs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=7
2014-12-29 18:15:46 +00:00
Stephan Kulow
17aad7560e Accepting request 235753 from devel:languages:python
fix source URLs for cryptography_vectors (forwarded request 235681 from matejcik)

OBS-URL: https://build.opensuse.org/request/show/235753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=2
2014-06-24 20:45:52 +00:00
Tomáš Chvátal
e70eb3fdcb Accepting request 235681 from home:matejcik:branches:devel:languages:python
fix source URLs for cryptography_vectors

OBS-URL: https://build.opensuse.org/request/show/235681
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=5
2014-05-29 13:08:57 +00:00
Tomáš Chvátal
2f7c228585 Accepting request 234746 from home:matejcik:branches:devel:languages:python
- update to 0.4
    * added IDEA algorithm
    * added HOTP, TOTP and CMAC primitives
    * improved support for RSA and DSA public key cryptography
- include cryptography_vectors as a source, in order to run the full
  test suite (cryptography_vectors seems only useful for testing
  this module, so it's probably not worth making a separate installable
  package for it)
- drop upstreamed cryptography-custom-install-cmd.patch

OBS-URL: https://build.opensuse.org/request/show/234746
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=4
2014-05-28 08:39:17 +00:00
Stephan Kulow
4708b8f1b5 Accepting request 228400 from devel:languages:python
new dep of python-pyOpenSSL

OBS-URL: https://build.opensuse.org/request/show/228400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=1
2014-04-04 14:41:38 +00:00
Sascha Peilicke
587832a356 - Add cryptography-custom-install-cmd.patch: Fix installation to plat_lib
- Properly invoke testsuite, therefore add dependencies on iso8601 and pretend
- Only use pkg-config for libffi on newer distros, stay with old-style
  devel package requires to fix SLE build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=2
2014-04-01 08:25:31 +00:00
Denisart Benjamin
a003527a66 Accepting request 223686 from home:mvyskocil:branches:devel:languages:python
add package to d:l:p, needed for new pyOpenSSL

OBS-URL: https://build.opensuse.org/request/show/223686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=1
2014-02-24 14:01:28 +00:00
8 changed files with 0 additions and 35 deletions

View File

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

View File

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

BIN
cryptography-43.0.3.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
cryptography-44.0.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

BIN
cryptography-44.0.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
cryptography-44.0.3.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,14 +0,0 @@
Index: cryptography-43.0.0/pyproject.toml
===================================================================
--- cryptography-43.0.0.orig/pyproject.toml
+++ cryptography-43.0.0/pyproject.toml
@@ -84,7 +84,8 @@ python-source = "src"
python-packages = ["cryptography"]
manifest-path = "src/rust/Cargo.toml"
module-name = "cryptography.hazmat.bindings._rust"
-locked = true
+locked = false
+offline = true
sdist-generator = "git"
features = ["pyo3/abi3-py37"]
include = [