Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2019 11:15:42 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r492047 - in head/security: . py-pass-audit
Message-ID:  <201902031115.x13BFg7h002568@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Feb  3 11:15:42 2019
New Revision: 492047
URL: https://svnweb.freebsd.org/changeset/ports/492047

Log:
  [NEW PORT] security/py-pass-audit: Extension to audit your password-store password repository
  
  pass audit is a password-store extension for auditing your password repository.
  Passwords will be checked against the Python implementation of Dropbox' zxcvbn
  algorithm and Troy Hunt's Have I Been Pwned Service. It supports safe breached
  password detection from haveibeenpwned.com using a K-anonymity method.
  
  Using this method, you do not need to (fully) trust the server that stores the
  breached password. You should read the security consideration section for more
  information.
  
  PR:		235454
  Submitted by:	Tobias Rehbein <tobias.rehbein@web.de>

Added:
  head/security/py-pass-audit/
  head/security/py-pass-audit/Makefile   (contents, props changed)
  head/security/py-pass-audit/distinfo   (contents, props changed)
  head/security/py-pass-audit/pkg-descr   (contents, props changed)
  head/security/py-pass-audit/pkg-plist   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sun Feb  3 10:53:43 2019	(r492046)
+++ head/security/Makefile	Sun Feb  3 11:15:42 2019	(r492047)
@@ -984,6 +984,7 @@
     SUBDIR += py-ospd
     SUBDIR += py-paramiko
     SUBDIR += py-paramiko1
+    SUBDIR += py-pass-audit
     SUBDIR += py-passlib
     SUBDIR += py-pbkdf2
     SUBDIR += py-pgpdump

Added: head/security/py-pass-audit/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pass-audit/Makefile	Sun Feb  3 11:15:42 2019	(r492047)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME=	pass-audit
+PORTVERSION=	1.0.1
+CATEGORIES=	security
+MASTER_SITES=	https://github.com/roddhjav/${PORTNAME}/releases/download/v${PORTVERSION}/
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	tobias.rehbein@web.de
+COMMENT=	Extension to audit your password-store password repository
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}zxcvbn>0:security/py-zxcvbn@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}zxcvbn>0:security/py-zxcvbn@${PY_FLAVOR} \
+		password-store>=1.7.3_1:sysutils/password-store
+
+USES=		python:3.4+ shebangfix
+USE_PYTHON=	distutils
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+SHEBANG_FILES=	${WRKSRC}/pass_audit.py
+
+pre-install:
+	${INSTALL_MAN} ${WRKSRC}/pass-audit.1 \
+		${STAGEDIR}${MANPREFIX}/man/man1/pass-audit.1
+	@${MKDIR} ${STAGEDIR}${LOCALBASE}/libexec/password-store/extensions
+	${INSTALL_SCRIPT} ${WRKSRC}/audit.bash \
+		${STAGEDIR}${LOCALBASE}/libexec/password-store/extensions/audit.bash
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+	${INSTALL_DATA} ${WRKSRC}/completion/pass-audit.bash \
+		${STAGEDIR}${PREFIX}/etc/bash_completion.d/pass-audit
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
+	${INSTALL_DATA} ${WRKSRC}/completion/pass-audit.zsh \
+		${STAGEDIR}${PREFIX}/share/zsh/site-functions/_pass-audit
+
+.include <bsd.port.mk>

Added: head/security/py-pass-audit/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pass-audit/distinfo	Sun Feb  3 11:15:42 2019	(r492047)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1549124026
+SHA256 (pass-audit-1.0.1.tar.gz) = a0b69164a6f467abd395076d18c950cd49e332aed11a1e5ecae746167728c050
+SIZE (pass-audit-1.0.1.tar.gz) = 62341

Added: head/security/py-pass-audit/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pass-audit/pkg-descr	Sun Feb  3 11:15:42 2019	(r492047)
@@ -0,0 +1,9 @@
+pass audit is a password-store extension for auditing your password repository.
+Passwords will be checked against the Python implementation of Dropbox' zxcvbn
+algorithm and Troy Hunt's Have I Been Pwned Service. It supports safe breached
+password detection from haveibeenpwned.com using a K-anonymity method. Using
+this method, you do not need to (fully) trust the server that stores the
+breached password. You should read the security consideration section for more
+information.
+
+WWW: https://github.com/roddhjav/pass-audit

Added: head/security/py-pass-audit/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pass-audit/pkg-plist	Sun Feb  3 11:15:42 2019	(r492047)
@@ -0,0 +1,7 @@
+%%PYTHON_SITELIBDIR%%/__pycache__/pass_audit.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/__pycache__/pass_audit.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/pass_audit.py
+libexec/password-store/extensions/audit.bash
+etc/bash_completion.d/pass-audit
+share/zsh/site-functions/_pass-audit
+man/man1/pass-audit.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902031115.x13BFg7h002568>