On Fri, Aug 19, 2016 at 11:12:02AM +0100, Stuart Henderson wrote: > On 2016/08/19 12:04, Daniel Jakots wrote: > > Hi, > > > > In June tedu@ committed [0] a diff to move login.conf to use auto > > rounds for bcrypt on amd64, sparc64, i386 and macppc. > > > > Here's a diff to update the man pages. Currently the man pages are > > outdated on these four architectures but I guess it's still right for > > other (old) architectures. After this diff, man page on these four > > architectures will be up to date, but on others it will be wrong (as > > they're still using 8 rounds). Is it possible to have different man > > pages for different architectures or am I missing something? > > > > > > [0]: https://marc.info/?l=openbsd-cvs&m=146697318611223&w=2 > > > > Cheers, > > Daniel > > > > Index: passwd.1 > > =================================================================== > > RCS file: /cvs/src/usr.bin/passwd/passwd.1,v > > retrieving revision 1.44 > > diff -u -p -r1.44 passwd.1 > > --- passwd.1 26 Nov 2015 19:01:47 -0000 1.44 > > +++ passwd.1 19 Aug 2016 09:25:41 -0000 > > @@ -70,7 +70,8 @@ Password encryption parameters depend on > > .Dq localcipher > > capability in > > .Xr login.conf 5 . > > -If none is specified, then blowfish with 8 rounds is used. > > +If none is specified, then blowfish with an automatically selected > > +number of rounds, based on system performance is used. > > How about: > > If none is specified, then blowfish is used, with the number of > rounds selected based on system performance. >
i was going to suggest something like this, but my solution had more text and was less elegant - i really like this wording. i would take that first comma out though and it will read better. jmc