diff options
author | wiz <wiz@pkgsrc.org> | 2021-06-23 21:05:17 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2021-06-23 21:05:17 +0000 |
commit | b26039fe39369a3bca7472e2384696e7f3e3fa47 (patch) | |
tree | a2647b02bffe15fea89481cbf65ac046f0409bf8 /security | |
parent | ee43ae174fb0a21553f1c8f4a2d69662ab0359b0 (diff) | |
download | pkgsrc-b26039fe39369a3bca7472e2384696e7f3e3fa47.tar.gz |
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.
Diffstat (limited to 'security')
-rw-r--r-- | security/py-hkdf/DESCR | 7 | ||||
-rw-r--r-- | security/py-hkdf/Makefile | 19 | ||||
-rw-r--r-- | security/py-hkdf/PLIST | 8 | ||||
-rw-r--r-- | security/py-hkdf/distinfo | 6 |
4 files changed, 40 insertions, 0 deletions
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 |