Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300215 - net-wireless/wpa_supplicant should expose fasteap
Summary: net-wireless/wpa_supplicant should expose fasteap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-08 19:58 UTC by Myk Taylor
Modified: 2010-01-14 15:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
wpa_supplicant ebuild that supports fasteap (wpa_supplicant-0.7.0.ebuild,7.32 KB, text/plain)
2010-01-08 20:01 UTC, Myk Taylor
Details
patched wpa_supplicant-0.6.9 (wpa_supplicant-0.6.9.ebuild,7.32 KB, text/plain)
2010-01-08 20:13 UTC, Myk Taylor
Details
patched wpa_supplicant-9999 (wpa_supplicant-9999.ebuild,7.68 KB, text/plain)
2010-01-08 20:13 UTC, Myk Taylor
Details
patch of changes (wpa_supplicant-0.7.0.ebuild.patch,1.19 KB, patch)
2010-01-08 20:18 UTC, Myk Taylor
Details | Diff
updated wpa_supplicant-9999 (wpa_supplicant-9999.ebuild,7.64 KB, text/plain)
2010-01-08 20:28 UTC, Myk Taylor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Myk Taylor 2010-01-08 19:58:29 UTC
FAST-EAP authentication is used by many enterprise wireless routers.  wpa_supplicant has had the ability to provide fasteap authentication for quite some time, but the ebuild has not exposed the functionality.  The only caveat is that if fasteap is used, wpa_supplicant must build using its internal TLS implementation, and not use openssl or gnutls.  I have patched the ebuild to provide a fasteap use flag and enforce the TLS implementation restriction.

Reproducible: Always

Steps to Reproduce:
1. Attempt to connect to a wireless network that requires FAST-EAP authentication

Actual Results:  
/var/log/messages shows an infinite loop of protocol failures

Expected Results:  
successful wireless connection

For reference, here is an example wpa_supplicant.conf block that uses FAST-EAP:

network={
    ssid="my_essid"
    priority=10
    proto=WPA
    key_mgmt=WPA-EAP
    pairwise=TKIP
    group=TKIP
    identity="domain\username"
    password="secretpass"
    phase1="fast_provisioning=1"
}
Comment 1 Myk Taylor 2010-01-08 20:01:41 UTC
Created attachment 215703 [details]
wpa_supplicant ebuild that supports fasteap
Comment 2 Myk Taylor 2010-01-08 20:13:15 UTC
Created attachment 215705 [details]
patched wpa_supplicant-0.6.9
Comment 3 Myk Taylor 2010-01-08 20:13:35 UTC
Created attachment 215707 [details]
patched wpa_supplicant-9999
Comment 4 Myk Taylor 2010-01-08 20:15:08 UTC
I did not add a patched version of wpa_supplicant-0.6.4 as I could not get that (rather old) version to compile on my system.  All uploaded ebuilds have been tested.
Comment 5 Myk Taylor 2010-01-08 20:18:23 UTC
Created attachment 215708 [details, diff]
patch of changes

unified diff to highlight the few changes I made to the ebuilds
Comment 6 Myk Taylor 2010-01-08 20:28:19 UTC
Created attachment 215710 [details]
updated wpa_supplicant-9999

newest git broke the ebuild for an unrelated (to this bug) reason.  The dbus path patch is no longer applicable and now causes errors.  I removed the now-useless epatch line from the ebuild.
Comment 7 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2010-01-14 15:07:52 UTC
Fixed, should hit the tree within an hour or two.