205 Commits

Author SHA256 Message Date
25faabaf24 - Update to 2.4.1:
* Dropped support for LibreSSL 2.4.x.
    * Deprecated OpenSSL 1.0.1 support. OpenSSL 1.0.1 is no
      longer supported by the OpenSSL project. At this time there
      is no time table for dropping support, however we strongly
      encourage all users to upgrade or install cryptography from
      a wheel.
    * Added initial :doc:`OCSP </x509/ocsp>` support.
    * Added support for cryptography.x509.PrecertPoison.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=105
2018-12-06 12:18:27 +00:00
Tomáš Chvátal
56954fb82e - Fix fdupes call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=104
2018-12-06 11:48:48 +00:00
Dominique Leuenberger
327f450d76 Accepting request 630716 from devel:languages:python
- Update to 2.3.1:
  * updated tests for upstream wycheproof changes
  * many other tiny test tweaks

OBS-URL: https://build.opensuse.org/request/show/630716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=41
2018-08-28 07:22:11 +00:00
Tomáš Chvátal
3e285f9342 - Update to 2.3.1:
* updated tests for upstream wycheproof changes
  * many other tiny test tweaks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=102
2018-08-21 07:54:08 +00:00
Dominique Leuenberger
e3690d14c6 Accepting request 623675 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/623675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=40
2018-07-21 08:09:06 +00:00
Tomáš Chvátal
615f36f655 Accepting request 623674 from home:stroeder:branches:devel:languages:python
- update to 2.3:
  * SECURITY ISSUE: finalize_with_tag() allowed tag truncation by default 
    which can allow tag forgery in some cases. The method now enforces the 
    min_tag_length provided to the GCM constructor.
  * Added support for Python 3.7.
  * Added extract_timestamp() to get the authenticated timestamp of a Fernet token.
  * Support for Python 2.7.x without hmac.compare_digest has been deprecated. 
    We will require Python 2.7.7 or higher (or 2.7.6 on Ubuntu) in the next 
    cryptography release.
  * Fixed multiple issues preventing cryptography from compiling
    against LibreSSL 2.7.x.
  * Added get_revoked_certificate_by_serial_number for quick
    serial number searches in CRLs.
  * The RelativeDistinguishedName class now preserves the order of attributes.
    Duplicate attributes now raise an error instead of silently discarding duplicates.
  * aes_key_unwrap() and aes_key_unwrap_with_padding() now raise InvalidUnwrap
    if the wrapped key is an invalid length, instead of ValueError.

OBS-URL: https://build.opensuse.org/request/show/623674
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=100
2018-07-18 14:32:41 +00:00
Yuchen Lin
73d95410d2 Accepting request 616244 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/616244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=39
2018-06-22 11:14:16 +00:00
Tomáš Chvátal
e832d4dbf8 Accepting request 616242 from home:mimi_vx:branches:devel:languages:python
- update to 2.2.2
  * fix build on some systems with openssl 1.1.0h

OBS-URL: https://build.opensuse.org/request/show/616242
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=98
2018-06-12 08:00:09 +00:00
Dominique Leuenberger
4f3c262e42 Accepting request 591618 from devel:languages:python
- Cleanup with spec-cleaner
- Use %setup to unpack all archives do not rely on tar calls

- Update to upstream release 2.2.1:
  * Reverted a change to GeneralNames which prohibited having zero elements,
    due to breakages.
  * Fixed a bug in
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding`
    that caused it to raise InvalidUnwrap when key length modulo 8 was zero.
  * BACKWARDS INCOMPATIBLE: Support for Python 2.6 has been dropped.
  * Resolved a bug in HKDF that incorrectly constrained output size.
  * Added
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP256R1`,
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP384R1`, and
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP512R1` to
    support inter-operating with systems like German smart meters.
  * Added token rotation support to :doc:`Fernet </fernet>` with
    :meth:`~cryptography.fernet.MultiFernet.rotate`.
  * Fixed a memory leak in
    :func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`.
  * Added support for AES key wrapping with padding via
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_wrap_with_padding` and
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding` .
* Allow loading DSA keys with 224 bit q.

OBS-URL: https://build.opensuse.org/request/show/591618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=38
2018-03-30 09:59:02 +00:00
Tomáš Chvátal
fb93670dd3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=96 2018-03-27 13:15:02 +00:00
Tomáš Chvátal
35fed52986 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=95 2018-03-27 12:55:23 +00:00
Tomáš Chvátal
bb01e86150 - Cleanup with spec-cleaner
- Use %setup to unpack all archives do not rely on tar calls
- Update to upstream release 2.2.1:
  * Reverted a change to GeneralNames which prohibited having zero elements,
    due to breakages.
  * Fixed a bug in
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding`
    that caused it to raise InvalidUnwrap when key length modulo 8 was zero.
  * BACKWARDS INCOMPATIBLE: Support for Python 2.6 has been dropped.
  * Resolved a bug in HKDF that incorrectly constrained output size.
  * Added
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP256R1`,
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP384R1`, and
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP512R1` to
    support inter-operating with systems like German smart meters.
  * Added token rotation support to :doc:`Fernet </fernet>` with
    :meth:`~cryptography.fernet.MultiFernet.rotate`.
  * Fixed a memory leak in
    :func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`.
  * Added support for AES key wrapping with padding via
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_wrap_with_padding` and
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding` .
* Allow loading DSA keys with 224 bit q.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=94
2018-03-26 07:50:13 +00:00
Tomáš Chvátal
436a448dcb Accepting request 590930 from home:stroeder:branches:devel:languages:python
- Update to upstream release 2.2.1

OBS-URL: https://build.opensuse.org/request/show/590930
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=93
2018-03-26 07:42:54 +00:00
Dominique Leuenberger
2cfbc35264 Accepting request 582074 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/582074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=37
2018-03-06 09:44:35 +00:00
Tomáš Chvátal
06442f25ba Accepting request 582047 from home:computersalat:devel:python
fix deps for hypothesis, pytest

OBS-URL: https://build.opensuse.org/request/show/582047
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=91
2018-03-02 21:42:20 +00:00
Dominique Leuenberger
3e52582a98 Accepting request 574139 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/574139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=36
2018-02-12 09:09:48 +00:00
a423e36678 Accepting request 574138 from home:tbechtold:branches:devel:languages:python
- Fix previous change and explicitly require python2 instead of
  python because python itself is also provided by python3.
  This fixes:
  ImportError: No module named _ssl
  when using python-cryptography in a python2 build environment

OBS-URL: https://build.opensuse.org/request/show/574138
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=89
2018-02-08 10:56:56 +00:00
Dominique Leuenberger
a259001231 Accepting request 572222 from devel:languages:python
- Fix the previous change to not pull in py2 on py3 enviroment

- fix requires on python ssl once more after the last change

OBS-URL: https://build.opensuse.org/request/show/572222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=35
2018-02-06 15:41:13 +00:00
Tomáš Chvátal
7b58b3cbbf - Fix the previous change to not pull in py2 on py3 enviroment
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=87
2018-02-03 13:02:25 +00:00
bfe5405542 - fix requires on python ssl once more after the last change
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=86
2018-01-27 11:25:35 +00:00
05d6306cab OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=85 2018-01-27 10:42:10 +00:00
Dominique Leuenberger
3f4a0d6078 Accepting request 567426 from devel:languages:python
- Add proper conditional for the python2, the ifpython works only
  for the requires/etc

- add missing dependency on python ssl

OBS-URL: https://build.opensuse.org/request/show/567426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=34
2018-01-20 10:26:01 +00:00
Tomáš Chvátal
cf6137bc31 - Add proper conditional for the python2, the ifpython works only
for the requires/etc

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=83
2018-01-18 13:31:34 +00:00
2a021588d7 - add missing dependency on python ssl
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=82
2018-01-16 10:27:31 +00:00
Dominique Leuenberger
b49e67a041 Accepting request 555394 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/555394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=33
2017-12-10 17:16:02 +00:00
34bc6f8dc6 Accepting request 555319 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/555319
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=80
2017-12-08 20:57:03 +00:00
Dominique Leuenberger
ad36320992 Accepting request 540642 from devel:languages:python
- update to version 2.1.3:
  * Updated Windows, macOS, and manylinux1 wheels to be compiled with
    OpenSSL 1.1.0g.

- update to version 2.1.2:
  * Corrected a bug with the manylinux1 wheels where OpenSSL’s stack
    was marked executable.

OBS-URL: https://build.opensuse.org/request/show/540642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=32
2017-11-12 17:00:56 +00:00
bf0f957a49 osc copypac from project:devel:languages:python package:python-cryptography revision:76
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=78
2017-11-10 19:27:10 +00:00
87aad2f50b Accepting request 540637 from home:mimi_vx:branches:devel:languages:python
- fix build on systems without python2

OBS-URL: https://build.opensuse.org/request/show/540637
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=77
2017-11-10 19:14:45 +00:00
d3741ae2d0 Accepting request 540294 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/540294
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=76
2017-11-10 11:31:46 +00:00
Dominique Leuenberger
d42cef9776 Accepting request 538420 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/538420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=31
2017-11-09 12:43:49 +00:00
Jan Matejek
48aa0c1e36 Accepting request 538281 from home:mimi_vx:branches:devel:languages:python
- fix BuildRequires conditions for python3

OBS-URL: https://build.opensuse.org/request/show/538281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=74
2017-11-02 15:19:19 +00:00
Michael Ströder
d2b7b6e0d6 Accepting request 533599 from home:stroeder:branches:devel:languages:python
- update to 2.1.1

OBS-URL: https://build.opensuse.org/request/show/533599
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=73
2017-10-23 08:26:10 +00:00
Dominique Leuenberger
31c7e28484 Accepting request 529889 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/529889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=30
2017-10-02 14:48:12 +00:00
Jan Matejek
5d825e4739 Accepting request 529157 from home:seanmarlow:branches:devel:languages:python
Fix cffi version requirement should be >= 1.7.

OBS-URL: https://build.opensuse.org/request/show/529157
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=71
2017-09-29 10:42:10 +00:00
Dominique Leuenberger
690e8830d7 Accepting request 522024 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/522024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=29
2017-09-09 18:24:11 +00:00
Jan Matejek
ba38ae853f Accepting request 521999 from home:vitezslav_cizek:branches:devel:languages:python
- Disable memleak tests to fix build with OpenSSL 1.1 (bsc#1055478)
  * add skip_openssl_memleak_test.patch

OBS-URL: https://build.opensuse.org/request/show/521999
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=69
2017-09-07 14:49:40 +00:00
Yuchen Lin
64ebd6b0ae Accepting request 514577 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/514577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=28
2017-08-10 11:44:50 +00:00
Jan Matejek
cb4e6be407 Accepting request 514489 from home:stroeder:branches:devel:languages:python
update to upstream release 2.0.3

OBS-URL: https://build.opensuse.org/request/show/514489
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=67
2017-08-04 15:54:45 +00:00
Thomas Bechtold
730ca5a4ed Accepting request 512776 from home:stroeder:branches:devel:languages:python
update to 2.0.2

OBS-URL: https://build.opensuse.org/request/show/512776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=66
2017-07-27 16:26:56 +00:00
Thomas Bechtold
22c7f5f273 Accepting request 511032 from home:stroeder:branches:devel:languages:python
update to 2.0

OBS-URL: https://build.opensuse.org/request/show/511032
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=65
2017-07-19 17:53:23 +00:00
Dominique Leuenberger
4a5c576531 Accepting request 504534 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/504534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=27
2017-06-21 11:50:33 +00:00
5a86dd5a31 Accepting request 501200 from home:stroeder:branches:devel:languages:python
update to upstream release 1.9

OBS-URL: https://build.opensuse.org/request/show/501200
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=63
2017-06-18 21:37:30 +00:00
Dominique Leuenberger
f769059988 Accepting request 492483 from devel:languages:python
- add python-packaging to requirements explicitly instead of relying
  on setuptools to pull it in

OBS-URL: https://build.opensuse.org/request/show/492483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=26
2017-05-16 12:28:08 +00:00
Jan Matejek
08cc8a9bfd - add python-packaging to requirements explicitly instead of relying
on setuptools to pull it in

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=61
2017-05-02 13:10:17 +00:00
Dominique Leuenberger
686805f75b Accepting request 483838 from devel:languages:python
- Switch to singlespec approach (forwarded request 483837 from matejcik)

OBS-URL: https://build.opensuse.org/request/show/483838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=25
2017-04-19 16:06:03 +00:00
Jan Matejek
00ec0fea30 Accepting request 483837 from devel:languages:python:singlespec
- Switch to singlespec approach

OBS-URL: https://build.opensuse.org/request/show/483837
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=59
2017-03-30 14:12:18 +00:00
Jan Matejek
4c597459d2 Accepting request 480638 from home:tbechtold:branches:devel:languages:python
- update to 1.8.1
- Adust Requires and BuildRequires

OBS-URL: https://build.opensuse.org/request/show/480638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=58
2017-03-16 14:49:25 +00:00
Dominique Leuenberger
57ae83f78d Accepting request 453631 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/453631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=24
2017-02-05 14:45:51 +00:00
8db08a0f18 Accepting request 453278 from home:stroeder:branches:devel:languages:python
update to 1.7.2 (with minor non-Linux change)

OBS-URL: https://build.opensuse.org/request/show/453278
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=56
2017-01-31 14:46:55 +00:00