summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2015-04-19 00:47:58 +0000
committerrodent <rodent@pkgsrc.org>2015-04-19 00:47:58 +0000
commit79a39c7518d933940b23297e4d2ba260e18bd769 (patch)
treec938ff6fea01581519ba8f579396e79ddfdf2fce /security
parent0cf35ec2ad7aa685d424a0ff36ff058975eacd34 (diff)
downloadpkgsrc-79a39c7518d933940b23297e4d2ba260e18bd769.tar.gz
Import py27-py-bcrypt-0.4 as security/py-py-bcrypt.
py-bcrypt is a Python wrapper of OpenBSD's Blowfish password hashing code, as described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres. This system hashes passwords using a version of Bruce Schneier's Blowfish block cipher with modifications designed to raise the cost of off-line password cracking and frustrate fast hardware implementation. The computation cost of the algorithm is parametised, so it can be increased as computers get faster. The intent is to make a compromise of a password database less likely to result in an attacker gaining knowledge of the plaintext passwords (e.g. using John the Ripper). As of py-bcrypt-0.4, this module can also be used as a Key Derivation Function (KDF) to turn a password and salt into a cryptographic key.
Diffstat (limited to 'security')
-rw-r--r--security/py-py-bcrypt/DESCR14
-rw-r--r--security/py-py-bcrypt/Makefile16
-rw-r--r--security/py-py-bcrypt/PLIST9
-rw-r--r--security/py-py-bcrypt/distinfo5
4 files changed, 44 insertions, 0 deletions
diff --git a/security/py-py-bcrypt/DESCR b/security/py-py-bcrypt/DESCR
new file mode 100644
index 00000000000..041fc44b867
--- /dev/null
+++ b/security/py-py-bcrypt/DESCR
@@ -0,0 +1,14 @@
+py-bcrypt is a Python wrapper of OpenBSD's Blowfish password hashing code, as
+described in "A Future-Adaptable Password Scheme" by Niels Provos and David
+Mazieres.
+
+This system hashes passwords using a version of Bruce Schneier's Blowfish block
+cipher with modifications designed to raise the cost of off-line password
+cracking and frustrate fast hardware implementation. The computation cost of the
+algorithm is parametised, so it can be increased as computers get faster. The
+intent is to make a compromise of a password database less likely to result in
+an attacker gaining knowledge of the plaintext passwords (e.g. using John the
+Ripper).
+
+As of py-bcrypt-0.4, this module can also be used as a Key Derivation Function
+(KDF) to turn a password and salt into a cryptographic key.
diff --git a/security/py-py-bcrypt/Makefile b/security/py-py-bcrypt/Makefile
new file mode 100644
index 00000000000..eed2f38463f
--- /dev/null
+++ b/security/py-py-bcrypt/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2015/04/19 00:47:58 rodent Exp $
+
+DISTNAME= py-bcrypt-0.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= python security
+MASTER_SITES= https://pypi.python.org/packages/source/p/py-bcrypt/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= https://code.google.com/p/py-bcrypt
+COMMENT= Provides bcrypt password hashing and key derivation in python
+LICENSE= isc AND modified-bsd AND original-bsd
+
+CONFLICTS+= ${PYPKGPREFIX}-bcrypt-[0-9]*:../../security/py-bcrypt
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-py-bcrypt/PLIST b/security/py-py-bcrypt/PLIST
new file mode 100644
index 00000000000..dd75999c4b4
--- /dev/null
+++ b/security/py-py-bcrypt/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/19 00:47:58 rodent Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/bcrypt/__init__.py
+${PYSITELIB}/bcrypt/__init__.pyc
+${PYSITELIB}/bcrypt/__init__.pyo
+${PYSITELIB}/bcrypt/_bcrypt.so
diff --git a/security/py-py-bcrypt/distinfo b/security/py-py-bcrypt/distinfo
new file mode 100644
index 00000000000..ba527d714f3
--- /dev/null
+++ b/security/py-py-bcrypt/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/04/19 00:47:58 rodent Exp $
+
+SHA1 (py-bcrypt-0.4.tar.gz) = 5a8201b7b1a2e787dab50f1bf6a34b42c4e80ce3
+RMD160 (py-bcrypt-0.4.tar.gz) = 555a1def749a57b9cd67446c4bff66681296504e
+Size (py-bcrypt-0.4.tar.gz) = 27399 bytes