Re: [UPDATE] security/passwdqc 2.0.3 -> 2.1.0

David Uhden Collado <[email protected]> Tue, 28 Jul 2026 17:00:00 +0000
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
David Uhden Collado wrote:
> Hello,
> 
> Please find attached a patch that updates the security/passwdqc port
> from version 2.0.3 to 2.1.0.
> 
> The upstream release announcement and full list of changes are
> available at:
> 
> https://www.openwall.com/lists/announce/2026/03/05/1
> https://www.openwall.com/passwdqc/CHANGES
> 
> In short, this release adds a built-in generated common-password list
> based on the overlap between HIBP v8 and RockYou, along with optimized
> fuzzy matching to keep checks efficient with larger wordlists. It also
> improves the handling of multi-word passphrases, leetspeak, and
> non-ASCII word separators.
> 
> The default password policy has been simplified by no longer allowing
> seven-character passwords. The release also adds a Finnish translation,
> introduces upstream tests through "make check".
> 
> No additional port changes were required beyond updating DISTNAME and
> regenerating distinfo for the new release.
> 
> Thank you for your time and consideration.
> 
> Best regards,
> David.
I forgot to update the patches so they would apply cleanly; I'm 
attaching the updated patch to this email.
passwdqc-2.patch (text/x-patch, 2.2 KB)
Index: security/passwdqc/Makefile
===================================================================
RCS file: /cvs/ports/security/passwdqc/Makefile,v
diff -u -p -u -r1.26 Makefile
--- security/passwdqc/Makefile	25 Mar 2025 10:02:45 -0000	1.26
+++ security/passwdqc/Makefile	28 Jul 2026 16:54:11 -0000
@@ -1,6 +1,6 @@
 COMMENT=	complexity checker for passwd(1) and password generator
 
-DISTNAME=	passwdqc-2.0.3
+DISTNAME=	passwdqc-2.1.0
 CATEGORIES=	security sysutils
 
 SHARED_LIBS=	passwdqc 0.1 # .0
Index: security/passwdqc/distinfo
===================================================================
RCS file: /cvs/ports/security/passwdqc/distinfo,v
diff -u -p -u -r1.11 distinfo
--- security/passwdqc/distinfo	25 Mar 2025 10:02:45 -0000	1.11
+++ security/passwdqc/distinfo	28 Jul 2026 16:54:11 -0000
@@ -1,2 +1,2 @@
-SHA256 (passwdqc-2.0.3.tar.gz) = U7D0vEk2nwYZXp4Tq7bP81LVrLeehhAE7JWXOJZIjPQ=
-SIZE (passwdqc-2.0.3.tar.gz) = 89608
+SHA256 (passwdqc-2.1.0.tar.gz) = UvoSJxEE50EmFFxiJLIrSo3TLMR94Ewen7jzSDQN9NI=
+SIZE (passwdqc-2.1.0.tar.gz) = 210003
Index: security/passwdqc/patches/patch-passwdqc_conf_5
===================================================================
RCS file: /cvs/ports/security/passwdqc/patches/patch-passwdqc_conf_5,v
diff -u -p -u -r1.7 patch-passwdqc_conf_5
--- security/passwdqc/patches/patch-passwdqc_conf_5	25 Mar 2025 10:02:45 -0000	1.7
+++ security/passwdqc/patches/patch-passwdqc_conf_5	28 Jul 2026 16:54:11 -0000
@@ -1,7 +1,7 @@
 Index: passwdqc.conf.5
 --- passwdqc.conf.5.orig
 +++ passwdqc.conf.5
-@@ -294,8 +294,7 @@ logging.
+@@ -297,8 +297,7 @@ logging.
  option).
  .Sh SEE ALSO
  .Xr getpwnam 3 ,
Index: security/passwdqc/patches/patch-pwqcheck_1
===================================================================
RCS file: /cvs/ports/security/passwdqc/patches/patch-pwqcheck_1,v
diff -u -p -u -r1.5 patch-pwqcheck_1
--- security/passwdqc/patches/patch-pwqcheck_1	11 Mar 2022 19:53:49 -0000	1.5
+++ security/passwdqc/patches/patch-pwqcheck_1	28 Jul 2026 16:54:11 -0000
@@ -1,7 +1,7 @@
 Index: pwqcheck.1
 --- pwqcheck.1.orig
 +++ pwqcheck.1
-@@ -201,7 +201,7 @@ Read just 1 line (new passphrase).
+@@ -204,7 +204,7 @@ Read just 1 line (new passphrase).
  This is needed to use
  .Nm
  as the passwordcheck program on OpenBSD - e.g., with