pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-py-bcrypt Import py27-py-bcrypt-0.4 as sec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8187145a343f
branches:  trunk
changeset: 650150:8187145a343f
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Sun Apr 19 00:47:58 2015 +0000

description:
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:

 security/py-py-bcrypt/DESCR    |  14 ++++++++++++++
 security/py-py-bcrypt/Makefile |  16 ++++++++++++++++
 security/py-py-bcrypt/PLIST    |   9 +++++++++
 security/py-py-bcrypt/distinfo |   5 +++++
 4 files changed, 44 insertions(+), 0 deletions(-)

diffs (60 lines):

diff -r a5e678752108 -r 8187145a343f security/py-py-bcrypt/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-py-bcrypt/DESCR       Sun Apr 19 00:47:58 2015 +0000
@@ -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 -r a5e678752108 -r 8187145a343f security/py-py-bcrypt/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-py-bcrypt/Makefile    Sun Apr 19 00:47:58 2015 +0000
@@ -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@localhost
+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 -r a5e678752108 -r 8187145a343f security/py-py-bcrypt/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-py-bcrypt/PLIST       Sun Apr 19 00:47:58 2015 +0000
@@ -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 -r a5e678752108 -r 8187145a343f security/py-py-bcrypt/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-py-bcrypt/distinfo    Sun Apr 19 00:47:58 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index