Commit Graph

161 Commits

Author SHA256 Message Date
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Markéta Machová
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Yuchen Lin
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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