Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Recognize argon2 passwords as valid in daily security re...



details:   https://anonhg.NetBSD.org/src/rev/ac57f128a961
branches:  trunk
changeset: 1024778:ac57f128a961
user:      nia <nia%NetBSD.org@localhost>
date:      Thu Nov 04 12:40:00 2021 +0000

description:
Recognize argon2 passwords as valid in daily security reports.

from RVP in misc/56486

diffstat:

 etc/security |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 0106303941ef -r ac57f128a961 etc/security
--- a/etc/security      Thu Nov 04 12:25:05 2021 +0000
+++ b/etc/security      Thu Nov 04 12:40:00 2021 +0000
@@ -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 @@
                        $2 !~ /^\$1/ &&
                        $2 !~ /^\$2/ &&
                        $2 !~ /^\$sha1/ &&
+                       $2 !~ /^\$argon2(i|d|id)/ &&
                        $2 != "" &&
                        (permit_star || $2 != "*") &&
                        $2 !~ /^\*[A-z-]+$/ &&



Home | Main Index | Thread Index | Old Index