From eab80a567a967ad6061094c8c5d264e68f99c221e32e289eb2bbbf1e51c5cda6 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 24 Aug 2015 08:43:13 +0000 Subject: [PATCH] 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 --- cryptography-0.9.3.tar.gz | 3 -- cryptography-0.9.3.tar.gz.asc | 11 ----- cryptography-1.0.tar.gz | 3 ++ cryptography-1.0.tar.gz.asc | 11 +++++ cryptography_vectors-0.9.3.tar.gz | 3 -- cryptography_vectors-0.9.3.tar.gz.asc | 11 ----- cryptography_vectors-1.0.tar.gz | 3 ++ cryptography_vectors-1.0.tar.gz.asc | 11 +++++ python-cryptography.changes | 61 +++++++++++++++++++++++++++ python-cryptography.spec | 14 +++--- 10 files changed, 96 insertions(+), 35 deletions(-) delete mode 100644 cryptography-0.9.3.tar.gz delete mode 100644 cryptography-0.9.3.tar.gz.asc create mode 100644 cryptography-1.0.tar.gz create mode 100644 cryptography-1.0.tar.gz.asc delete mode 100644 cryptography_vectors-0.9.3.tar.gz delete mode 100644 cryptography_vectors-0.9.3.tar.gz.asc create mode 100644 cryptography_vectors-1.0.tar.gz create mode 100644 cryptography_vectors-1.0.tar.gz.asc diff --git a/cryptography-0.9.3.tar.gz b/cryptography-0.9.3.tar.gz deleted file mode 100644 index 092f650..0000000 --- a/cryptography-0.9.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aed022f738dd9adb840d92960b0464ea1fbb222ba118938858eb93fe25151c2d -size 303075 diff --git a/cryptography-0.9.3.tar.gz.asc b/cryptography-0.9.3.tar.gz.asc deleted file mode 100644 index bc03875..0000000 --- a/cryptography-0.9.3.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQEcBAABAgAGBQJVnogtAAoJECNa5fEp+e2YImEIAJ+IALc8iVF9YQDXWXtipIgi -+BLw+RtygFFwnTLTarPtafN9geHUyuQrL51p2otLGWeI9XcxHJi/2CKHAI7Oqh9n -4IukumfC6AYzqFbn0FidD15tbom25hZieZb/FnyGMuDhXRVHJ4wpll+6zQVX/6yT -+roqKck9jSMqSNtmFSh6VjSnbuA/u4p8PKz2ZhYLIaopSrGyEmc8OP+BVLebMqPy -M2VA48xTA5oNor34Rjf86xj/Ll3GUl0pVExQgcxnZa1hznBWAYlunTKSBHNDGS6V -s+QJjAYdvyqGYIwobYhmoSwWm0IXwkj++WfBrqBByiM/xXt86MFKyUEiIHn4Ufw= -=yqSB ------END PGP SIGNATURE----- diff --git a/cryptography-1.0.tar.gz b/cryptography-1.0.tar.gz new file mode 100644 index 0000000..768c5b6 --- /dev/null +++ b/cryptography-1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:211c02fe77d791d7fc437227ba1c046268d5da665e05d8a53fc19f4f74c21001 +size 331438 diff --git a/cryptography-1.0.tar.gz.asc b/cryptography-1.0.tar.gz.asc new file mode 100644 index 0000000..546e7fc --- /dev/null +++ b/cryptography-1.0.tar.gz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQEcBAABAgAGBQJVy0xcAAoJECNa5fEp+e2Y6KsH/iitT57ksgfW8vZCy1pWHRCY +WtETpHyJ3KHS/mCcFnzB0hKVdylk7FHcM/hR3p2B46mnwjOq2H+aHyrVShWjn8nS +Z9YVNp4HFgQxV4njh7A6eyOqLe+F5GyQGiaI4wJxUtD/922JoKRavM0QzVMJ48m7 +TC2fI5VHpxlNsmmQlYogKPbr1D6C+mNZ+aPWEePZyHd9nfF4qRtSGl+DpsirQdRG +4HAxTsZLzT9Cqpjdfw71eE0CquY1SiSLP+s3KDiuTU2QsElBjDrYjhrBWl1N7TJb +occigR6GXSl1hw7vXH+6LUZAU0PaQYUS9ac/NFBIJXcvVzdUvVQoGAJjZ2zKz+c= +=m8N9 +-----END PGP SIGNATURE----- diff --git a/cryptography_vectors-0.9.3.tar.gz b/cryptography_vectors-0.9.3.tar.gz deleted file mode 100644 index 3714618..0000000 --- a/cryptography_vectors-0.9.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa3949852323aebb5d33e6a461caa25190f05a042ceb63b20c2810f83f855e43 -size 24986101 diff --git a/cryptography_vectors-0.9.3.tar.gz.asc b/cryptography_vectors-0.9.3.tar.gz.asc deleted file mode 100644 index f30b0c0..0000000 --- a/cryptography_vectors-0.9.3.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQEcBAABAgAGBQJVnohZAAoJECNa5fEp+e2YgvwH/RSSFDe2uxJqbp+qWo5xwqOg -KMh82rU8gD54smXTAkyy8bHB0WSVSdPqvLMV2/7n2RPGDAWU3PeHCSL10CaoA50p -dojCZ41AY2vaAP1cFjNqUesqVG3QPVU4YfdBhR9dITT8eHQT2oiepfHK4v1UEqPj -kkXb5ZDDbglisVkT6iRll/zqay9tDiTNfcJKEx8gwVGneuVScojtt4EeavWAD4oU -pcf4L6UjPn5KliewlcAifg8xw1W65GOAMmdmLOiw1ZvND0BxAFeUXFJt9gUrTcB/ -xU6mGLjvv9B0AAHLd/o0288BXgrFK1d3EQuRIra+b13IYRU756kEkxzx5s+7LvA= -=EZD3 ------END PGP SIGNATURE----- diff --git a/cryptography_vectors-1.0.tar.gz b/cryptography_vectors-1.0.tar.gz new file mode 100644 index 0000000..037004d --- /dev/null +++ b/cryptography_vectors-1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7277818b7bd99b502ee79d37cf5b9405577c39171919014756181b947ea0234 +size 25003925 diff --git a/cryptography_vectors-1.0.tar.gz.asc b/cryptography_vectors-1.0.tar.gz.asc new file mode 100644 index 0000000..22696cd --- /dev/null +++ b/cryptography_vectors-1.0.tar.gz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQEcBAABAgAGBQJVy0yBAAoJECNa5fEp+e2YeGYH/jGBWd6v/+iiaNHCZsrG/H+c +HVH1c0Z+cx6XcSbLwz/VZ2ioGHqwESMKVS1ArHiv/OkoaSL8ZNeO3Af8Fao/aJb1 ++NcJBCjJNSRT3iTdu2hDis+H5sQdfjthQodcpNp2BYRNCsjHVi7KX8CdK3cu8jED +w1yuTJA3hlICqMxUMl2TC/XbYgh3qXIEIAGoY59aAkDujO7ceD73jrHeFYD/KqnI +News1nPfC2AjlX50sSR4X8e6aoR1EMwl0O5nUt/0d8owxR45iR2s62mGwzplDi/t +3XWAnUd1OEgeN9GGS7w82RdtCo45udJ6N7CY+ggxbSNyC6uDuxVfYEmU2VUSHiw= +=a+rm +-----END PGP SIGNATURE----- diff --git a/python-cryptography.changes b/python-cryptography.changes index f837b61..a517c8e 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,64 @@ +------------------------------------------------------------------- +Sat Aug 22 10:30:08 UTC 2015 - tbechtold@suse.com + +- 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`. + * Add support for creating signed certificates with + :class:`~cryptography.x509.CertificateBuilder`. This includes support for + the following extensions: + + * :class:`~cryptography.x509.BasicConstraints` + * :class:`~cryptography.x509.SubjectAlternativeName` + * :class:`~cryptography.x509.KeyUsage` + * :class:`~cryptography.x509.ExtendedKeyUsage` + * :class:`~cryptography.x509.SubjectKeyIdentifier` + * :class:`~cryptography.x509.AuthorityKeyIdentifier` + * :class:`~cryptography.x509.AuthorityInformationAccess` + * :class:`~cryptography.x509.CRLDistributionPoints` + * :class:`~cryptography.x509.InhibitAnyPolicy` + * :class:`~cryptography.x509.IssuerAlternativeName` + * :class:`~cryptography.x509.OCSPNoCheck` + + * Add support for creating certificate signing requests with + :class:`~cryptography.x509.CertificateSigningRequestBuilder`. This includes + support for the same extensions supported in the ``CertificateBuilder``. + * Deprecate ``encode_rfc6979_signature`` and ``decode_rfc6979_signature`` in + favor of + :func:`~cryptography.hazmat.primitives.asymmetric.utils.encode_dss_signature` + and + :func:`~cryptography.hazmat.primitives.asymmetric.utils.decode_dss_signature`. +- Adjust Requires according to requires.txt + ------------------------------------------------------------------- Wed Jul 29 18:05:55 UTC 2015 - tbechtold@suse.com diff --git a/python-cryptography.spec b/python-cryptography.spec index 0d5a982..dcb5bc9 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -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