65 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
be9e114990 Accepting request 446208 from home:stroeder:branches:devel:languages:python
Update to 1.7.1 with regression fix for 1.7. Do *not* forward 1.7 to Factory! It fails.

OBS-URL: https://build.opensuse.org/request/show/446208
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=54
2016-12-15 08:07:36 +00:00
Jan Matejek
a4ac52c5f6 Accepting request 445586 from home:mimi_vx:branches:devel:languages:python
- update to 1.7
* support for OpenSSL 1.0.0 has been removed.
* Added support for Diffie-Hellman key exchange
* The OS random engine for OpenSSL has been rewritten

OBS-URL: https://build.opensuse.org/request/show/445586
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=53
2016-12-13 16:54:44 +00:00
e4f2c7af84 Accepting request 441534 from home:stroeder:branches:devel:languages:python
update to upstream release 1.6

OBS-URL: https://build.opensuse.org/request/show/441534
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=51
2016-11-29 08:36:52 +00:00
244ab523eb Accepting request 439940 from home:stroeder:branches:devel:languages:python
update to upstream update 1.5.3 (works for me for OATH-LDAP with new python-jwcrypto on Tumbleweed x86_64)

OBS-URL: https://build.opensuse.org/request/show/439940
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=49
2016-11-12 07:43:15 +00:00
91095fb280 Accepting request 430429 from home:msmeissn:branches:devel:languages:python
- python-cryptography-enable-gost.patch: temporary patch
  to run tests against 1.0.2i, GOST cert extraction now works.

OBS-URL: https://build.opensuse.org/request/show/430429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=47
2016-09-27 09:43:50 +00:00
Thomas Bechtold
cb531bfd99 Accepting request 411483 from home:matwey:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/411483
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=45
2016-07-18 05:46:45 +00:00
c14f670013 - fix download urls
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=43
2016-06-06 13:03:46 +00:00
f72eb578f2 * Updated Windows and OS X wheels to be compiled against OpenSSL 1.0.2h.
* Fixed an issue preventing ``cryptography`` from compiling against
    LibreSSL 2.3.x.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=42
2016-06-06 13:00:07 +00:00
4408804dee Accepting request 400022 from home:stroeder:branches:devel:languages:python
update to upstream release 1.3.4

OBS-URL: https://build.opensuse.org/request/show/400022
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=41
2016-06-06 11:20:11 +00:00
5c708a0b60 - correct source urls
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=40
2016-05-06 07:43:20 +00:00
b3952cd5e2 Accepting request 393935 from home:stroeder:branches:devel:languages:python
update to 1.3.2

OBS-URL: https://build.opensuse.org/request/show/393935
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=39
2016-05-06 07:32:31 +00:00
Todd R
5c4c68c8a1 Accepting request 377061 from home:stroeder:branches:devel:languages:python
update to 1.3.1

OBS-URL: https://build.opensuse.org/request/show/377061
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=37
2016-03-24 19:22:41 +00:00
b67a1761f6 - fix license
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=35
2016-03-13 21:20:08 +00:00
Todd R
78681f6686 Accepting request 365006 from home:dimstar:Factory
- Add pkg-config BuildRequires: in order for the last introduced
  condition to apply the patch to work, pkg-config has to be
  present.

OBS-URL: https://build.opensuse.org/request/show/365006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=33
2016-03-04 15:48:14 +00:00
c7db0b07f9 Accepting request 364667 from home:msmeissn:branches:devel:languages:python
- cryptography-new-bio-new-type.patch: openssl 1.0.2g changed
  the type of BIO_new_mem_buf() (added a const).

OBS-URL: https://build.opensuse.org/request/show/364667
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=32
2016-03-02 17:41:00 +00:00
Todd R
b6b9b9ff49 Accepting request 352716 from home:stroeder:branches:devel:languages:python
update to upstream release 1.2.1 (needs python-cffi 1.4.1+, see also request #352713)

OBS-URL: https://build.opensuse.org/request/show/352716
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=30
2016-01-11 08:06:18 +00:00
Jan Matejek
254ce426f2 Accepting request 351333 from home:stroeder:branches:devel:languages:python
update to 1.1.2

OBS-URL: https://build.opensuse.org/request/show/351333
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=28
2016-01-05 14:16:15 +00:00
061d49c008 - update to 1.1.1:
* Fixed several small bugs related to compiling the OpenSSL bindings with
    unusual OpenSSL configurations.
  * Resolved an issue where, depending on the method of installation and
    which Python interpreter they were using, users on El Capitan (OS X 10.11)
    may have seen an ``InternalError`` on import.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=25
2015-12-09 10:37:57 +00:00
c6867b02fd - fix build for sle11 (disable testsuite as it depends on python-hypothesis
which is not available for sle11 anymore)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=24
2015-12-09 10:20:38 +00:00