Module Name:    src
Committed By:   nia
Date:           Thu Nov  4 12:40:01 UTC 2021

Modified Files:
        src/etc: security

Log Message:
Recognize argon2 passwords as valid in daily security reports.

from RVP in misc/56486


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/etc/security

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/security
diff -u src/etc/security:1.128 src/etc/security:1.129
--- src/etc/security:1.128	Sun Jan 10 23:24:25 2021
+++ src/etc/security	Thu Nov  4 12:40:00 2021
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#	$NetBSD: security,v 1.128 2021/01/10 23:24:25 riastradh Exp $
+#	$NetBSD: security,v 1.129 2021/11/04 12:40:00 nia Exp $
 #	from: @(#)security	8.1 (Berkeley) 6/9/93
 #
 
@@ -274,6 +274,7 @@ if checkyesno check_passwd; then
 		    	$2 !~ /^\$1/ &&
 		    	$2 !~ /^\$2/ &&
 			$2 !~ /^\$sha1/ &&
+			$2 !~ /^\$argon2(i|d|id)/ &&
 		    	$2 != "" &&
 			(permit_star || $2 != "*") &&
 		    	$2 !~ /^\*[A-z-]+$/ &&

Reply via email to