diff --git a/passlib-1.7.2.tar.gz b/passlib-1.7.2.tar.gz deleted file mode 100644 index 9deb0d8..0000000 --- a/passlib-1.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8 -size 649654 diff --git a/passlib-1.7.4.tar.gz b/passlib-1.7.4.tar.gz new file mode 100644 index 0000000..eeee2f7 --- /dev/null +++ b/passlib-1.7.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04 +size 689844 diff --git a/python-passlib.changes b/python-passlib.changes index 0b3316e..01a6a7d 100644 --- a/python-passlib.changes +++ b/python-passlib.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Sat Nov 21 00:01:52 UTC 2020 - John Vandenberg + +- Update URL to https://foss.heptapod.net/python-libs/passlib +- Add optional dependencies: Django, apache2-utils +- Update %check to report skipped tests +- Update to v0.7.4 + * updated tests to pass for Django 1.8 - 3.1 + * CryptContext will now throw UnknownHashError when it can't + identify a hash provided to methods such as CryptContext.verify + Previously it would throw a generic :exc:`ValueError`. +- from v1.7.3 + * ldap_salted_sha512 LDAP "salted hash" support added for SHA-256 + and SHA-512 + * bcrypt: Fixed Python 3 OS native backend detection on BSD platforms + * safe_crypt added support for crypt.crypt unexpectedly returning + bytes under Python 3 + * safe_crypt added support for crypt.crypt throwing OSError + which can happen as of Python 3.9 + * passlib.ext.django fixed lru_cache import for Django 3 compatibility + * bcrypt_sha256 Internal algorithm has been changed to use HMAC-SHA256 + instead of plain SHA256 + * bcrypt OS native backend ("os_crypt") now raises the new + PasswordValueError if password is provided as non-UTF8 bytes + * lookup_hash's required=False kwd was modified to report unsupported + hashes via the HashInfo.supported attribute; rather than letting + ValueErrors through uncaught. + * Various Python 3.9 compatibility fixes + ------------------------------------------------------------------- Thu Sep 24 17:34:01 UTC 2020 - Hans-Peter Jansen diff --git a/python-passlib.spec b/python-passlib.spec index f14c6f6..f25dc15 100644 --- a/python-passlib.spec +++ b/python-passlib.spec @@ -18,19 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-passlib -Version: 1.7.2 +Version: 1.7.4 Release: 0 Summary: Password hashing framework supporting over 20 schemes License: BSD-3-Clause Group: Development/Languages/Python -URL: https://bitbucket.org/ecollins/passlib +URL: https://foss.heptapod.net/python-libs/passlib Source: https://files.pythonhosted.org/packages/source/p/passlib/passlib-%{version}.tar.gz BuildRequires: %{python_module argon2_cffi} BuildRequires: %{python_module bcrypt} BuildRequires: %{python_module cryptography} +BuildRequires: %{python_module Django} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scrypt} BuildRequires: %{python_module setuptools} +BuildRequires: apache2-utils BuildRequires: fdupes BuildRequires: python-rpm-macros Recommends: python-argon2_cffi @@ -58,7 +60,7 @@ applications. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +%pytest -rs %files %{python_files} %license LICENSE