Sync from SUSE:SLFO:Main python-argon2-cffi revision 18e99750efcd57c3c32eb56e02e25467
This commit is contained in:
commit
109c760b7a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
argon2-cffi-21.3.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
argon2-cffi-21.3.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
96
python-argon2-cffi.changes
Normal file
96
python-argon2-cffi.changes
Normal file
@ -0,0 +1,96 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 24 10:57:17 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Remove not needed dependency six
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 6 12:54:25 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||
|
||||
- Update to version 21.3.0
|
||||
* Feature: Full type hints.
|
||||
* Adjusted defaults to RFC 9106 and support for pre-configured profiles.
|
||||
* Python 3.5 is not supported anymore.
|
||||
* The CFFI bindings have been extracted into a separate project:
|
||||
argon2-cffi-bindings
|
||||
* Added: argon2.Parameters.from_parameters() together with the
|
||||
argon2.profiles module that offers easy access to the RFC-recommended
|
||||
configuration parameters and then some.
|
||||
* The CLI interface now has a --profile option that takes any name
|
||||
from argon2.profiles.
|
||||
* argon2.PasswordHasher now uses the RFC 9106 low-memory profile
|
||||
by default. The old defaults are available as argon2.profiles.PRE_21_2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 14 23:14:06 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
- Update to 21.1.0
|
||||
- skip building for Python 2 because not supported anymore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 28 06:32:23 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 20.1.0:
|
||||
* It is now possible to manually override the detection of SSE2 using
|
||||
the ``ARGON2_CFFI_USE_SSE2`` environment variable.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 16 10:12:33 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix build without python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 17 12:29:23 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to 19.2.0
|
||||
* Python 3.4 is not supported anymore.
|
||||
* The dependency on enum34 is now protected using a PEP 508 marker.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 13:50:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Skip test that randomly fails in obs test_argument_ranges
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 1 10:54:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Provide argon2_cffi namespace too
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 19 12:11:20 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Update to v19.1.0
|
||||
* Vendoring Argon2 @ 670229c
|
||||
* Added support for Argon2 v1.2 hashes in argon2.extract_parameters()
|
||||
- from 18.3.0
|
||||
* Vendoring Argon2 @ 670229c
|
||||
* argon2.PasswordHasher's hash type is now configurable
|
||||
- from 18.2.0
|
||||
* Vendoring Argon2 @ 670229c
|
||||
* The hash type for ``argon2.PasswordHasher`` is Argon2\ **id** now.
|
||||
This decision has been made based on the recommendations in the latest
|
||||
Argon2 RFC draft
|
||||
* To make the change of hash type backward compatible,
|
||||
argon2.PasswordHasher.verify() now determines the type of the hash and
|
||||
verifies it accordingly
|
||||
* Some of the hash parameters have been made stricter to be closer to said
|
||||
recommendations. The current goal for a hash verification times is around 50ms
|
||||
* To allow for bespoke decisions about upgrading Argon2 parameters, it's now
|
||||
possible to extract them from a hash via argon2.extract_parameters()
|
||||
* Additionally argon2.PasswordHasher now has a check_needs_rehash() method
|
||||
that allows to verify whether a hash has been created with the instance's
|
||||
parameters or whether it should be rehashed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 8 15:07:52 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Ensure neutrality of description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 8 14:02:08 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Do not use bundled argon2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 8 13:36:02 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Initial package for v18.1.0, used by Django
|
65
python-argon2-cffi.spec
Normal file
65
python-argon2-cffi.spec
Normal file
@ -0,0 +1,65 @@
|
||||
#
|
||||
# spec file for package python-argon2-cffi
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
|
||||
Name: python-argon2-cffi
|
||||
Version: 21.3.0
|
||||
Release: 0
|
||||
Summary: The Argon2 password hashing algorithm for Python
|
||||
License: MIT
|
||||
URL: https://github.com/hynek/argon2_cffi
|
||||
Source: https://files.pythonhosted.org/packages/source/a/argon2-cffi/argon2-cffi-%{version}.tar.gz
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# For test
|
||||
BuildRequires: %{python_module argon2-cffi-bindings}
|
||||
Requires: python-argon2-cffi-bindings
|
||||
Provides: python-argon2_cffi
|
||||
Obsoletes: python-argon2_cffi
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A Python module that uses CFFI to access the Argon2 password hashing
|
||||
C library.
|
||||
|
||||
%prep
|
||||
%setup -q -n argon2-cffi-%{version}
|
||||
|
||||
%build
|
||||
export ARGON2_CFFI_USE_SYSTEM=1
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst AUTHORS.rst FAQ.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/argon2
|
||||
%{python_sitelib}/argon2_cffi-%{version}.dist-info
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user