14
0

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
This commit is contained in:
2015-08-24 08:43:13 +00:00
committed by Git OBS Bridge
parent f4aa7a93bc
commit eab80a567a
10 changed files with 96 additions and 35 deletions

View File

@@ -17,7 +17,7 @@
Name: python-cryptography
Version: 0.9.3
Version: 1.0
Release: 0
Summary: Python library which exposes cryptographic recipes and primitives
License: Apache-2.0
@@ -29,10 +29,10 @@ Source2: %{name}.keyring
Source3: https://pypi.python.org/packages/source/c/cryptography-vectors/cryptography_vectors-%{version}.tar.gz
Source4: https://pypi.python.org/packages/source/c/cryptography-vectors/cryptography_vectors-%{version}.tar.gz.asc
BuildRequires: libopenssl-devel
BuildRequires: python-cffi >= 0.8
BuildRequires: python-cffi >= 1.1.0
BuildRequires: python-devel
BuildRequires: python-enum34
BuildRequires: python-idna
BuildRequires: python-idna >= 2.0
BuildRequires: python-ipaddress
BuildRequires: python-setuptools
BuildRequires: python-six >= 1.4.1
@@ -40,14 +40,14 @@ BuildRequires: pkgconfig(libffi)
# Test requirements
BuildRequires: python-iso8601
BuildRequires: python-pretend
BuildRequires: python-pyasn1
BuildRequires: python-pyasn1 >= 0.1.8
BuildRequires: python-pytest
BuildRequires: python-virtualenv
Requires: python-cffi >= 0.8
Requires: python-cffi >= 1.1.0
Requires: python-enum34
Requires: python-idna
Requires: python-idna >= 2.0
Requires: python-ipaddress
Requires: python-pyasn1
Requires: python-pyasn1 >= 0.1.8
Requires: python-six >= 1.4.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build