Module Name: src Committed By: nia Date: Tue Oct 12 11:08:14 UTC 2021
Modified Files: src/share/man/man5: passwd.conf.5 Log Message: passwd.conf.5: document using argon2 To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/share/man/man5/passwd.conf.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man5/passwd.conf.5 diff -u src/share/man/man5/passwd.conf.5:1.11 src/share/man/man5/passwd.conf.5:1.12 --- src/share/man/man5/passwd.conf.5:1.11 Mon Jul 3 21:30:59 2017 +++ src/share/man/man5/passwd.conf.5 Tue Oct 12 11:08:14 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: passwd.conf.5,v 1.11 2017/07/03 21:30:59 wiz Exp $ +.\" $NetBSD: passwd.conf.5,v 1.12 2021/10/12 11:08:14 nia Exp $ .\" .\" Copyright 1997 Niels Provos <pro...@physnet.uni-hamburg.de> .\" All rights reserved. @@ -28,7 +28,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd December 3, 2010 +.Dd October 12, 2021 .Dt PASSWD.CONF 5 .Os .Sh NAME @@ -59,19 +59,34 @@ Some fields and their possible values th The cipher to use for local passwords. .Pp Possible values are: +.Dq argon2d,<t=X,m=Y,p=Z> , +.Dq argon2i,<t=X,m=Y,p=Z> , +.Dq argon2id,<t=X,m=Y,p=Z> , .Dq old , .Dq newsalt,<rounds> , .Dq md5 , .Dq sha1,<rounds> , and .Dq blowfish,<rounds> . +.Pp +For +.Dq argon2d , +.Dq argon2i , +and +.Dq argon2id , +optional hardness parameters can be specified as described in the +manual for +.Xr pwhash 1 . +.Pp For .Dq newsalt the value of rounds is a 24-bit integer with a minimum of 7250 rounds. +.Pp For .Dq sha1 the value of rounds is a 32-bit integer, 0 means use the default of 24680. +.Pp For .Dq blowfish the value can be between 4 and 31.