From b26039fe39369a3bca7472e2384696e7f3e3fa47 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 23 Jun 2021 21:05:17 +0000 Subject: security/py-hkdf: import py-hkdf-0.0.3 Packaged for wip by Matthias Ferdinand. This module implements the HMAC Key Derivation function, defined at http://tools.ietf.org/html/draft-krawczyk-hkdf-01 There are two interfaces: a functional interface, with separate extract and expand functions as defined in the draft RFC, and a wrapper class for these functions. --- security/py-hkdf/DESCR | 7 +++++++ security/py-hkdf/Makefile | 19 +++++++++++++++++++ security/py-hkdf/PLIST | 8 ++++++++ security/py-hkdf/distinfo | 6 ++++++ 4 files changed, 40 insertions(+) create mode 100644 security/py-hkdf/DESCR create mode 100644 security/py-hkdf/Makefile create mode 100644 security/py-hkdf/PLIST create mode 100644 security/py-hkdf/distinfo diff --git a/security/py-hkdf/DESCR b/security/py-hkdf/DESCR new file mode 100644 index 00000000000..ed0ec8abbf8 --- /dev/null +++ b/security/py-hkdf/DESCR @@ -0,0 +1,7 @@ +This module implements the HMAC Key Derivation function, defined at + + http://tools.ietf.org/html/draft-krawczyk-hkdf-01 + +There are two interfaces: a functional interface, with separate extract +and expand functions as defined in the draft RFC, and a wrapper class +for these functions. diff --git a/security/py-hkdf/Makefile b/security/py-hkdf/Makefile new file mode 100644 index 00000000000..66e40ec8234 --- /dev/null +++ b/security/py-hkdf/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2021/06/23 21:05:17 wiz Exp $ + +DISTNAME= hkdf-0.0.3 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= security python +MASTER_SITES= ${MASTER_SITE_PYPI:=h/hkdf/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/casebeer/python-hkdf +COMMENT= HMAC-based Extract-and-Expand Key Derivation Function (HKDF; RFC 5869) +LICENSE= 2-clause-bsd + +TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose + +PYTHON_VERSIONED_DEPENDENCIES= test:test + +.include "../../lang/python/egg.mk" +.include "../../lang/python/versioned_dependencies.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/py-hkdf/PLIST b/security/py-hkdf/PLIST new file mode 100644 index 00000000000..0673381f021 --- /dev/null +++ b/security/py-hkdf/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1 2021/06/23 21:05:17 wiz Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/hkdf.py +${PYSITELIB}/hkdf.pyc +${PYSITELIB}/hkdf.pyo diff --git a/security/py-hkdf/distinfo b/security/py-hkdf/distinfo new file mode 100644 index 00000000000..bbf42f620c5 --- /dev/null +++ b/security/py-hkdf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/06/23 21:05:17 wiz Exp $ + +SHA1 (hkdf-0.0.3.tar.gz) = 8a9ae11de8270cd679839945b80f2fd1d0d11c77 +RMD160 (hkdf-0.0.3.tar.gz) = 655173ded611e8c58a3d05225bc18aa2c6896bd7 +SHA512 (hkdf-0.0.3.tar.gz) = c58f9310c151f8d710998d019221713ec71ac8083c42300f5e77326c7b35be341263c40fb485402937c381a6435cbd9899c8d32846a50d1d1e6a4d3e61f58c7d +Size (hkdf-0.0.3.tar.gz) = 3959 bytes -- cgit v1.2.3