14
0

Accepting request 605178 from home:frispete:python

- fix condition to act as drop in replacement for python-pycrypto

- Update to 3.6.1 (15 April 2018)
  - New features
    * Added Google Wycheproof tests (https://github.com/google/wycheproof)
      for RSA, DSA, ECDSA, GCM, SIV, EAX, CMAC.
    * New parameter ``mac_len`` (length of MAC tag) for CMAC.
  - Resolved issues
    * In certain circumstances (at counter wrapping, which happens on average after
      32 GBi) AES GCM produced wrong ciphertexts.
    * Method ``encrypt()`` of AES SIV cipher could be still called,
      whereas only ``encrypt_and_digest()`` should be allowed.
- Update to 3.6.0 (8 April 2018)
  - New features
    * Introduced ``export_key`` and deprecated ``exportKey`` for DSA and RSA key
      objects.
    * Ciphers and hash functions accept ``memoryview`` objects in input.
    * Added support for SHA-512/224 and SHA-512/256.
  - Resolved issues
    * Reintroduced `Crypto.__version__` variable as in PyCrypto.
    * Fixed compilation problem with MinGW.
- Update to 3.5.1 (8 March 2018)
  - Resolved issues
    * GH#142. Fix mismatch with declaration and definition of addmul128.
- Update to 3.5.0 (7 March 2018)
  - New features
    * Import and export of ECC curves in compressed form.
    * The initial counter for a cipher in CTR mode can be a byte string
      (in addition to an integer).
    * Faster PBKDF2 for HMAC-based PRFs (at least 20x for short passwords,

OBS-URL: https://build.opensuse.org/request/show/605178
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycryptodome?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2018-05-08 06:25:27 +00:00
committed by Git OBS Bridge
parent 439eca7d1b
commit 63fda4188c
4 changed files with 109 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycryptodome
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-pycryptodome
Version: 3.4.7
Version: 3.6.1
Release: 0
Summary: Cryptographic library for Python
License: BSD-2-Clause
@@ -30,7 +30,8 @@ BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Conflicts: python-pycrypto
Provides: python-pycrypto = %{version}
Obsoletes: python-pycrypto < %{version}
%python_subpackages