Source-Changes-HG archive

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

[src/trunk]: src/sbin/cgdconfig With the change to use getpass_r the 128 byte...



details:   https://anonhg.NetBSD.org/src/rev/1e77305dd988
branches:  trunk
changeset: 322628:1e77305dd988
user:      kre <kre%NetBSD.org@localhost>
date:      Wed May 09 20:23:35 2018 +0000

description:
With the change to use getpass_r the 128 byte passphrase limit no
longer applies, so update the BUGS section here to reflect that change.
The limit now is 1023 whichever method is used to fetch the passphrase.

diffstat:

 sbin/cgdconfig/cgdconfig.8 |  14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diffs (25 lines):

diff -r f00776b9b68c -r 1e77305dd988 sbin/cgdconfig/cgdconfig.8
--- a/sbin/cgdconfig/cgdconfig.8        Wed May 09 19:55:35 2018 +0000
+++ b/sbin/cgdconfig/cgdconfig.8        Wed May 09 20:23:35 2018 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: cgdconfig.8,v 1.39 2018/05/09 18:11:56 alnsn Exp $
+.\" $NetBSD: cgdconfig.8,v 1.40 2018/05/09 20:23:35 kre Exp $
 .\"
 .\" Copyright (c) 2002, The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -449,14 +449,4 @@
 utility appeared in
 .Nx 2.0 .
 .Sh BUGS
-Since
-.Nm
-without
-.Fl p
-uses
-.Xr getpass 3
-to read in the passphrase,
-it is limited to sysconf(_SC_PASS_MAX) (128) characters.
-With
-.Fl p
-the limit is 1023 characters.
+Pass phrases are limited to 1023 bytes.



Home | Main Index | Thread Index | Old Index