./security/py-cryptography, Cryptographic recipes and primitives for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.8.1, Package name: py27-cryptography-1.8.1, Maintainer: pkgsrc-users

cryptography is a package designed to expose cryptographic recipes
and primitives to Python developers. Our goal is for it to be your
"cryptographic standard library".

cryptography includes both high level recipes, and low level
interfaces to common cryptographic algorithms such as symmetric
ciphers, message digests and key derivation functions.


Required to run:
[devel/py-setuptools] [lang/python27] [devel/py-cffi] [devel/py-cparser] [lang/py-six] [devel/py-enum34] [www/py-idna] [net/py-ipaddress] [security/py-asn1crypto]

Required to build:
[time/py-pytz] [devel/py-requests] [devel/py-test] [time/py-iso8601] [devel/py-pretend] [pkgtools/cwrappers] [security/py-cryptography_vectors]

Master sites:

SHA1: d15ffd42ca41260a61bc80cbeccf24e2dbf44253
RMD160: 674dd4bcdddb501e6f6907d0d874dd475f032af8
Filesize: 413.633 KB

Version history: (Expand)


CVS history: (Expand)


   2017-03-21 17:04:59 by Thomas Klausner | Files touched by this commit (1)
Log message:
Remove comment -- test failures not repeatable.
   2017-03-13 10:42:25 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Updated py-cryptography to 1.8.1.

1.8.1 - 2017-03-10
~~~~~~~~~~~~~~~~~~

* Fixed macOS wheels to properly link against 1.1.0 rather than 1.0.2.

1.8 - 2017-03-09
~~~~~~~~~~~~~~~~

* Added support for Python 3.6.
* Windows and macOS wheels now link against OpenSSL 1.1.0.
* macOS wheels are no longer universal. This change significantly shrinks the
  size of the wheels. Users on macOS 32-bit Python (if there are any) should
  migrate to 64-bit or build their own packages.
* Changed ASN.1 dependency from ``pyasn1`` to ``asn1crypto`` resulting in a
  general performance increase when encoding/decoding ASN.1 structures. Also,
  the ``pyasn1_modules`` test dependency is no longer required.
* Added support for
  :meth:`~cryptography.hazmat.primitives.ciphers.CipherContext.update_into` on
  :class:`~cryptography.hazmat.primitives.ciphers.CipherContext`.
* Added
  \ 
:meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKeyWithSerializati \ 
on.private_bytes`
  to
  \ 
:class:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKeyWithSerializat \ 
ion`.
* Added
  \ 
:meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPublicKeyWithSerializatio \ 
n.public_bytes`
  to
  \ 
:class:`~cryptography.hazmat.primitives.asymmetric.dh.DHPublicKeyWithSerializati \ 
on`.
* :func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key`
  and
  :func:`~cryptography.hazmat.primitives.serialization.load_der_private_key`
  now require that ``password`` must be bytes if provided. Previously this
  was documented but not enforced.
* Added support for subgroup order in :doc:`/hazmat/primitives/asymmetric/dh`.
   2017-02-13 18:49:46 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
Fix PLIST.Darwin
   2017-01-28 12:15:07 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Fix test segfault by using upstream patch #3350:
https://github.com/pyca/cryptography/pull/3350

Bump PKGREVISION.

Identified by @reaperhulk in https://github.com/pyca/cryptography/issues/3372
   2017-01-28 02:20:01 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-cryptography to 1.7.2.

Add more test dependencies.
Self tests cause a python core dump, see
https://github.com/pyca/cryptography/issues/3372

1.7.2 - 2017-01-27
~~~~~~~~~~~~~~~~~~

* Updated Windows and macOS wheels to be compiled against OpenSSL 1.0.2k.
   2016-12-19 09:57:51 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Updated py-cryptography to 1.7.1.

1.7.1 - 2016-12-13
~~~~~~~~~~~~~~~~~~

* Fixed a regression in ``int_from_bytes`` where it failed to accept
  ``bytearray``.

1.7 - 2016-12-12
~~~~~~~~~~~~~~~~

* Support for OpenSSL 1.0.0 has been removed. Users on older version of OpenSSL
  will need to upgrade.
* Added support for Diffie-Hellman key exchange using
  \ 
:meth:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKeyWithSerializati \ 
on.exchange`
* The OS random engine for OpenSSL has been rewritten to improve compatibility
  with embedded Python and other edge cases. More information about this change
  can be found in the
  `pull request <https://github.com/pyca/cryptography/pull/3229>`_.
   2016-11-28 14:15:51 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Updated py-cryptography to 1.6.

1.6 - 2016-11-22
~~~~~~~~~~~~~~~~

* Deprecated support for OpenSSL 1.0.0. Support will be removed in
  ``cryptography`` 1.7.
* Replaced the Python-based OpenSSL locking callbacks with a C version to fix
  a potential deadlock that could occur if a garbage collection cycle occurred
  while inside the lock.
* Added support for :class:`~cryptography.hazmat.primitives.hashes.BLAKE2b` and
  :class:`~cryptography.hazmat.primitives.hashes.BLAKE2s` when using OpenSSL
  1.1.0.
* Added
  :attr:`~cryptography.x509.Certificate.signature_algorithm_oid` support to
  :class:`~cryptography.x509.Certificate`.
* Added
  :attr:`~cryptography.x509.CertificateSigningRequest.signature_algorithm_oid`
  support to :class:`~cryptography.x509.CertificateSigningRequest`.
* Added
  :attr:`~cryptography.x509.CertificateRevocationList.signature_algorithm_oid`
  support to :class:`~cryptography.x509.CertificateRevocationList`.
* Added support for :class:`~cryptography.hazmat.primitives.kdf.scrypt.Scrypt`
  when using OpenSSL 1.1.0.
* Added a workaround to improve compatibility with Python application bundling
  tools like ``PyInstaller`` and ``cx_freeze``.
* Added support for generating a
  :meth:`~cryptography.x509.random_serial_number`.
* Added support for encoding ``IPv4Network`` and ``IPv6Network`` in X.509
  certificates for use with :class:`~cryptography.x509.NameConstraints`.
* Added :meth:`~cryptography.x509.Name.public_bytes` to
  :class:`~cryptography.x509.Name`.
* Added :class:`~cryptography.x509.RelativeDistinguishedName`
* :class:`~cryptography.x509.DistributionPoint` now accepts
  :class:`~cryptography.x509.RelativeDistinguishedName` for
  :attr:`~cryptography.x509.DistributionPoint.relative_name`.
  Deprecated use of :class:`~cryptography.x509.Name` as
  :attr:`~cryptography.x509.DistributionPoint.relative_name`.
* :class:`~cryptography.x509.Name` now accepts an iterable of
  :class:`~cryptography.x509.RelativeDistinguishedName`.  RDNs can
  be accessed via the :attr:`~cryptography.x509.Name.rdns`
  attribute.  When constructed with an iterable of
  :class:`~cryptography.x509.NameAttribute`, each attribute becomes
  a single-valued RDN.
* Added
  :func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`.
* Added support for signing and verifying RSA, DSA, and ECDSA signatures with
  :class:`~cryptography.hazmat.primitives.asymmetric.utils.Prehashed`
  digests.
   2016-11-07 11:48:13 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-cryptography to 1.5.3.

1.5.3 - 2016-11-05
~~~~~~~~~~~~~~~~~~

* **SECURITY ISSUE**: Fixed a bug where ``HKDF`` would return an empty
  byte-string if used with a ``length`` less than ``algorithm.digest_size``.
  Credit to **Markus Döring** for reporting the issue.