svn commit: r405767 - in head/security: . py-scrypt
Martin Wilke
miwi at FreeBSD.org
Mon Jan 11 07:29:18 UTC 2016
Author: miwi
Date: Mon Jan 11 07:29:16 2016
New Revision: 405767
URL: https://svnweb.freebsd.org/changeset/ports/405767
Log:
This is is a set of Python bindings for the scrypt key derivation function.
Scrypt is useful when encrypting password as it is possible to specify a
minimum amount of time to use when encrypting and decrypting. If, for example,
a password takes 0.05 seconds to verify, a user won't notice the slight delay
when signing in, but doing a brute force search of several billion passwords
will take a considerable amount of time. This is in contrast to more
traditional hash functions such as MD5 or the SHA family which can be
implemented extremely fast on cheap hardware.
WWW: https://pypi.python.org/pypi/scrypt/
PR: 206102
Submitted by: Yuri Victorovich <yuri at rawbw.com>
Added:
head/security/py-scrypt/
head/security/py-scrypt/Makefile (contents, props changed)
head/security/py-scrypt/distinfo (contents, props changed)
head/security/py-scrypt/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Mon Jan 11 07:21:19 2016 (r405766)
+++ head/security/Makefile Mon Jan 11 07:29:16 2016 (r405767)
@@ -798,6 +798,7 @@
SUBDIR += py-Products.PlonePAS
SUBDIR += py-Products.PluggableAuthService
SUBDIR += py-RestrictedPython
+ SUBDIR += py-scrypt
SUBDIR += py-SecretStorage
SUBDIR += py-acme
SUBDIR += py-artifacts
Added: head/security/py-scrypt/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-scrypt/Makefile Mon Jan 11 07:29:16 2016 (r405767)
@@ -0,0 +1,26 @@
+# Created by: Yuri Victorovich <yuri at rawbw.com>
+# $FreeBSD$
+
+PORTNAME= scrypt
+PORTVERSION= 0.7.1
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at rawbw.com
+COMMENT= Bindings for the scrypt key derivation function library
+
+LICENSE= BSD2CLAUSE
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_scrypt.so
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>
Added: head/security/py-scrypt/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-scrypt/distinfo Mon Jan 11 07:29:16 2016 (r405767)
@@ -0,0 +1,2 @@
+SHA256 (scrypt-0.7.1.tar.gz) = f5f68c300c816178384b6531f071a07e705beb1ecd9b37ba8fe3960c20f61da3
+SIZE (scrypt-0.7.1.tar.gz) = 30382
Added: head/security/py-scrypt/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-scrypt/pkg-descr Mon Jan 11 07:29:16 2016 (r405767)
@@ -0,0 +1,11 @@
+This is is a set of Python bindings for the scrypt key derivation function.
+
+Scrypt is useful when encrypting password as it is possible to specify a
+minimum amount of time to use when encrypting and decrypting. If, for example,
+a password takes 0.05 seconds to verify, a user won't notice the slight delay
+when signing in, but doing a brute force search of several billion passwords
+will take a considerable amount of time. This is in contrast to more
+traditional hash functions such as MD5 or the SHA family which can be
+implemented extremely fast on cheap hardware.
+
+WWW: https://pypi.python.org/pypi/scrypt/
More information about the svn-ports-head
mailing list