Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2011 21:39:26 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r225539 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201109132139.p8DLdQXt097593@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brueffer
Date: Tue Sep 13 21:39:26 2011
New Revision: 225539
URL: http://svn.freebsd.org/changeset/base/225539

Log:
  Allow WPA PSKs up to 63 characters, the max length according to
  wpa_supplicant.conf(5).  Up to now, the PSK was truncated
  to 15 characters (the length of the input field).
  
  PR:		159559
  Submitted by:	Gavin Chappell <gavin.chappell@gmail.com>
  Approved by:	re (kib)

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Sep 13 21:15:23 2011	(r225538)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Sep 13 21:39:26 2011	(r225539)
@@ -92,7 +92,7 @@ if echo $ENCRYPTION | grep -q 'PSK'; the
 	PASS=`dialog --insecure --backtitle "FreeBSD Installer" \
 	    --title "WPA Setup" --mixedform "" 0 0 0 \
 		"SSID" 1 0 "$NETWORK" 1 12 0 0 2 \
-		"Password" 2 0 "" 2 12 15 0 1 \
+		"Password" 2 0 "" 2 12 15 63 1 \
 		2>&1 1>&3` \
 	|| exec $0 $@
 	exec 3>&-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109132139.p8DLdQXt097593>