pkgsrc/security/py-argon2_cffi/Makefile
adam a3362e9d4f py-argon2_cffi: updated to 18.3.0
18.3.0:

Changes:
- argon2.PasswordHasher's hash type is configurable now.


18.2.0:

Changes:
- 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 <https://tools.ietf.org/html/draft-irtf-cfrg-argon2-03#section-4>_.
- 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 the argon2.extract_parameters() function.
- 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.
2018-11-14 09:28:26 +00:00

20 lines
611 B
Makefile

# $NetBSD: Makefile,v 1.3 2018/11/14 09:28:26 adam Exp $
DISTNAME= argon2_cffi-18.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/argon2_cffi/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://argon2-cffi.readthedocs.io/
COMMENT= Secure Argon2 password hashing algorithm
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.0.0:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
MAKE_ENV+= ARGON2_CFFI_USE_SYSTEM=1
.include "../../lang/python/egg.mk"
.include "../../security/argon2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"