Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2018 22:10:34 +0000 (UTC)
From:      Stefan Esser <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462749 - in head/security/pwned-check: . files
Message-ID:  <201802232210.w1NMAYDo000812@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: se
Date: Fri Feb 23 22:10:33 2018
New Revision: 462749
URL: https://svnweb.freebsd.org/changeset/ports/462749

Log:
  Update to use newly released database of pawned passwords (2.5 times the
  number of passwords covered, compared to the previous version).
  
  Approved by:	antoine (implicit)

Modified:
  head/security/pwned-check/Makefile
  head/security/pwned-check/files/pkg-message.in
  head/security/pwned-check/files/pwned-check.1.in
  head/security/pwned-check/files/pwned-check.conf.sample
  head/security/pwned-check/files/pwned-check.sh.in

Modified: head/security/pwned-check/Makefile
==============================================================================
--- head/security/pwned-check/Makefile	Fri Feb 23 22:00:38 2018	(r462748)
+++ head/security/pwned-check/Makefile	Fri Feb 23 22:10:33 2018	(r462749)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pwned-check
-PORTVERSION=	1.0
+PORTVERSION=	2.0
 CATEGORIES=	security
 MASTER_SITES=	#
 DISTFILES=	#

Modified: head/security/pwned-check/files/pkg-message.in
==============================================================================
--- head/security/pwned-check/files/pkg-message.in	Fri Feb 23 22:00:38 2018	(r462748)
+++ head/security/pwned-check/files/pkg-message.in	Fri Feb 23 22:10:33 2018	(r462749)
@@ -7,7 +7,7 @@ the following command:
 The database files will be installed into /var/db/pwned-check by default.
 This directory can be changed in %%PREFIX%%/etc/pwned-check.conf.
 
-The installation procedure will fetch 6 GB of compressed data and will
-temporarily need 18 GB of free space in that directory and 13 GB when
+The installation procedure will fetch 9 GB of compressed data and will
+temporarily need 40 GB of free space in that directory and 30 GB when
 the installation is complete.
 -------------------------------------------------------------------------

Modified: head/security/pwned-check/files/pwned-check.1.in
==============================================================================
--- head/security/pwned-check/files/pwned-check.1.in	Fri Feb 23 22:00:38 2018	(r462748)
+++ head/security/pwned-check/files/pwned-check.1.in	Fri Feb 23 22:10:33 2018	(r462749)
@@ -29,8 +29,9 @@ plain text password corresponding to a given SHA1 hash
 .Pp
 If the option
 .Fl u
-is used, the password hash database is downloaded and initialized.
-This process will temporarily require some 18 GB of free space in the
+is used, the password hash database (9 GB compressed) is downloaded and
+initialized.
+This process will temporarily require some 40 GB of free space in the
 database directory, which is
 .Pa /var/db/pwned-check
 by default.
@@ -42,7 +43,7 @@ the download.
 Optional configuration file.
 .It Pa /var/db/pwned-check
 Default location of pwned password hash database.
-Needs 18 GB of free space during download, 13 GB when finished.
+Needs up to 40 GB of free space during download, 30 GB when finished.
 .El
 .Sh EXIT STATUS
 .Nm

Modified: head/security/pwned-check/files/pwned-check.conf.sample
==============================================================================
--- head/security/pwned-check/files/pwned-check.conf.sample	Fri Feb 23 22:00:38 2018	(r462748)
+++ head/security/pwned-check/files/pwned-check.conf.sample	Fri Feb 23 22:10:33 2018	(r462749)
@@ -1,2 +1,2 @@
 DBDIR=		/var/db/pwned-check
-URLBASE=i	https://downloads.pwnedpasswords.com/passwords
+URLBASE=	https://downloads.pwnedpasswords.com/passwords

Modified: head/security/pwned-check/files/pwned-check.sh.in
==============================================================================
--- head/security/pwned-check/files/pwned-check.sh.in	Fri Feb 23 22:00:38 2018	(r462748)
+++ head/security/pwned-check/files/pwned-check.sh.in	Fri Feb 23 22:10:33 2018	(r462749)
@@ -58,11 +58,11 @@ fetchpwfiles ()
 	fi
 	rm -f "$f7z"
     done <<EOF
-pwned-passwords-1.0.txt      12862899504 5702869528 90d57d16a2dfe00de6cc58d0fa7882229ace4a53
-pwned-passwords-update-1.txt   574389228  262300582 00fc585efad08a4b6323f8e4196aae9207f8b09f
-pwned-passwords-update-2.txt    16791180    8000810 20318090278bbd196945025bc7bf93e99f261f9a
+pwned-passwords-2.0.txt      31603121046 9405806974 c267424e7d2bb5b10adff4d776fa14b0967bf0cc
 EOF
     echo "All data files have been successfully downloaded and extracted."
+    rm -f "$DBDIR/pwned-passwords-1.0.txt*"
+    rm -f "$DBDIR/pwned-passwords-update-?.txt*"
 }
 
 # Password lookup



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