Received: by mail.netbsd.org (Postfix, from userid 605) id D66B784DDD; Mon, 27 Nov 2017 18:47:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 17A9984D22 for ; Mon, 27 Nov 2017 18:47:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 0FW2QWKEdle8 for ; Mon, 27 Nov 2017 18:47:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 7936984CD9 for ; Mon, 27 Nov 2017 18:47:09 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 433A1FB40; Mon, 27 Nov 2017 18:47:09 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1511808429289320" MIME-Version: 1.0 Date: Mon, 27 Nov 2017 18:47:09 +0000 From: "Benny Siegert" Subject: CVS commit: pkgsrc/security To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20171127184709.433A1FB40@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1511808429289320 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: bsiegert Date: Mon Nov 27 18:47:09 UTC 2017 Modified Files: pkgsrc/security: Makefile Added Files: pkgsrc/security/2fa: DESCR Makefile PLIST distinfo Log Message: Add 2fa version 20171122. From DESCR: 2fa is a two-factor authentication agent. "2fa -add name" adds a new key to the 2fa keychain with the given name. It prints a prompt to standard error and reads a two-factor key from standard input. Two-factor keys are short case-insensitive strings of letters A-Z and digits 2-7. "2fa name" prints a two-factor authentication code from the key with the given name. With no arguments, "2fa" prints two-factor authentication codes from all known time-based keys. The default time-based authentication codes are derived from a hash of the key and the current time, so it is important that the system clock have at least one-minute accuracy. The keychain is stored unencrypted in the text file "$HOME/.2fa". To generate a diff of this commit: cvs rdiff -u -r1.657 -r1.658 pkgsrc/security/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/security/2fa/DESCR pkgsrc/security/2fa/Makefile \ pkgsrc/security/2fa/PLIST pkgsrc/security/2fa/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1511808429289320 Content-Disposition: inline Content-Length: 3279 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/Makefile diff -u pkgsrc/security/Makefile:1.657 pkgsrc/security/Makefile:1.658 --- pkgsrc/security/Makefile:1.657 Wed Nov 15 08:58:35 2017 +++ pkgsrc/security/Makefile Mon Nov 27 18:47:09 2017 @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.657 2017/11/15 08:58:35 jdolecek Exp $ +# $NetBSD: Makefile,v 1.658 2017/11/27 18:47:09 bsiegert Exp $ # COMMENT= Security tools +SUBDIR+= 2fa SUBDIR+= Bastille SUBDIR+= CSP SUBDIR+= CoolKey Added files: Index: pkgsrc/security/2fa/DESCR diff -u /dev/null pkgsrc/security/2fa/DESCR:1.1 --- /dev/null Mon Nov 27 18:47:09 2017 +++ pkgsrc/security/2fa/DESCR Mon Nov 27 18:47:09 2017 @@ -0,0 +1,18 @@ +2fa is a two-factor authentication agent. + +"2fa -add name" adds a new key to the 2fa keychain with the given name. It +prints a prompt to standard error and reads a two-factor key from standard +input. Two-factor keys are short case-insensitive strings of letters A-Z and +digits 2-7. + +"2fa name" prints a two-factor authentication code from the key with the +given name. + +With no arguments, "2fa" prints two-factor authentication codes from all +known time-based keys. + +The default time-based authentication codes are derived from a hash of the +key and the current time, so it is important that the system clock have at +least one-minute accuracy. + +The keychain is stored unencrypted in the text file "$HOME/.2fa". Index: pkgsrc/security/2fa/Makefile diff -u /dev/null pkgsrc/security/2fa/Makefile:1.1 --- /dev/null Mon Nov 27 18:47:09 2017 +++ pkgsrc/security/2fa/Makefile Mon Nov 27 18:47:09 2017 @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2017/11/27 18:47:09 bsiegert Exp $ + +DISTNAME= 2fa +PKGNAME= 2fa-20171122 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_GITHUB:=rsc/} +GITHUB_TAG= c9558c536f6538d59f1b012915b44e44e3563823 + +MAINTAINER= bsiegert@NetBSD.org +HOMEPAGE= ${MASTER_SITE_GITHUB:=rsc/2fa/} +COMMENT= Command-line client for two-factor authentication +LICENSE= modified-bsd + +GO_DIST_BASE= 2fa-${GITHUB_TAG} +GO_SRCPATH= rsc.io/2fa + +CHECK_RELRO_SKIP+= bin/caddy + +INSTALLATION_DIRS= bin + +do-install: + ${INSTALL_PROGRAM} ${WRKDIR}/bin/2fa ${DESTDIR}${PREFIX}/bin + +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/security/2fa/PLIST diff -u /dev/null pkgsrc/security/2fa/PLIST:1.1 --- /dev/null Mon Nov 27 18:47:09 2017 +++ pkgsrc/security/2fa/PLIST Mon Nov 27 18:47:09 2017 @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2017/11/27 18:47:09 bsiegert Exp $ +bin/2fa +@pkgdir gopkg Index: pkgsrc/security/2fa/distinfo diff -u /dev/null pkgsrc/security/2fa/distinfo:1.1 --- /dev/null Mon Nov 27 18:47:09 2017 +++ pkgsrc/security/2fa/distinfo Mon Nov 27 18:47:09 2017 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/11/27 18:47:09 bsiegert Exp $ + +SHA1 (2fa-c9558c536f6538d59f1b012915b44e44e3563823.tar.gz) = 0e61f9ec9c097d894e8c7ff878edb50e97aaed59 +RMD160 (2fa-c9558c536f6538d59f1b012915b44e44e3563823.tar.gz) = ad58053b47a09180c6a51ab439dfa5810428c8f9 +SHA512 (2fa-c9558c536f6538d59f1b012915b44e44e3563823.tar.gz) = 414e79b783a6c2539827197555161019a58411a6aefb485248914e0868f60ede46b8de51eecaa38261a28c4cb418cb2a65875d0ce07f0e9fe24593fc3626e971 +Size (2fa-c9558c536f6538d59f1b012915b44e44e3563823.tar.gz) = 4249 bytes --_----------=_1511808429289320--