From nobody@FreeBSD.org  Sat Aug  6 20:23:44 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 575191065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Aug 2011 20:23:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 2DEFB8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Aug 2011 20:23:44 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p76KNiAL002212
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 6 Aug 2011 20:23:44 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p76KNhir002197;
	Sat, 6 Aug 2011 20:23:43 GMT
	(envelope-from nobody)
Message-Id: <201108062023.p76KNhir002197@red.freebsd.org>
Date: Sat, 6 Aug 2011 20:23:43 GMT
From: Gavin Chappell <gavin.chappell@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Installer doesn't configure >15 character PSK correctly
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         159559
>Category:       bin
>Synopsis:       bsdinstall(8): Installer doesn't configure >15 character PSK correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 06 20:30:10 UTC 2011
>Closed-Date:    Tue Sep 13 23:40:25 CEST 2011
>Last-Modified:  Tue Sep 13 21:50:08 UTC 2011
>Originator:     Gavin Chappell
>Release:        9.0-BETA1
>Organization:
n/a
>Environment:
>Description:
I just ran through the 9 BETA installer, and found that when I tried to configure my WPA2-PSK network as part of the installer, only the first 15 characters of the 25 character key were recorded in /etc/wpa_supplicant.conf, the rest were missing
>How-To-Repeat:
Run installer, and try to configure a wireless network with >15 character PSK
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brueffer 
State-Changed-When: Tue Sep 13 23:39:33 CEST 2011 
State-Changed-Why:  
Fixed, thanks for the report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159559 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/159559: commit references a PR
Date: Tue, 13 Sep 2011 21:39:40 +0000 (UTC)

 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>&-
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
