Commit Graph

223 Commits

Author SHA256 Message Date
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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