Module Name: src Committed By: christos Date: Wed Mar 25 18:37:09 UTC 2020
Modified Files: src/lib/libcrypt: pw_gensalt.3 Log Message: - bump blowfish size, explain version - add passwd xref To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libcrypt/pw_gensalt.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libcrypt/pw_gensalt.3 diff -u src/lib/libcrypt/pw_gensalt.3:1.1 src/lib/libcrypt/pw_gensalt.3:1.2 --- src/lib/libcrypt/pw_gensalt.3:1.1 Wed Mar 25 13:11:06 2020 +++ src/lib/libcrypt/pw_gensalt.3 Wed Mar 25 14:37:08 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: pw_gensalt.3,v 1.1 2020/03/25 17:11:06 christos Exp $ +.\" $NetBSD: pw_gensalt.3,v 1.2 2020/03/25 18:37:08 christos Exp $ .\" .\" Copyright (c) 2020 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -116,11 +116,14 @@ A salt generated using the .Sq blowfish algorithm. The minimum salt size is -.Dv 30 +.Dv 31 and the number of rounds needs to be specified in .Ar option . This is of the form: .Li $2a$nrounds$??????????????????????$ . +The +.Li 2 +in the salt string indicates the current blowfish version. .\" .It argon2 .\" .It argon2id .\" .It argon2i @@ -146,6 +149,7 @@ was not large enough to fit the salt for .Ar type. .El .Sh SEE ALSO +.Xr passwd 1 , .Xr pwhash 1 .Sh HISTORY The