belak.gentoo / net-misc / wicd / files / wicd-1.7.1_pre20111210-wpa-psk-hex-template.patch

diff -U 3 -dHrN wicd.org/encryption/templates/active wicd/encryption/templates/active
--- wicd.org/encryption/templates/active	2011-12-05 16:22:49.584224158 +0100
+++ wicd/encryption/templates/active	2011-12-05 16:16:10.736172566 +0100
@@ -1,6 +1,7 @@
 wpa
 wpa-peap
 wpa-psk
+wpa-psk-hex
 wpa2-leap
 wpa2-peap
 wep-hex
diff -U 3 -dHrN wicd.org/encryption/templates/wpa-psk-hex wicd/encryption/templates/wpa-psk-hex
--- wicd.org/encryption/templates/wpa-psk-hex	1970-01-01 01:00:00.000000000 +0100
+++ wicd/encryption/templates/wpa-psk-hex	2011-12-05 16:16:43.428012863 +0100
@@ -0,0 +1,15 @@
+name = WPA 1/2 (Preshared Hex Key)
+author = Thomas Kahle
+version = 1
+require apsk *Preshared_Key
+-----
+ctrl_interface=/var/run/wpa_supplicant
+network={
+       ssid="$_ESSID"
+       scan_ssid=$_SCAN
+       proto=WPA RSN
+       key_mgmt=WPA-PSK
+       pairwise=CCMP TKIP
+       group=CCMP TKIP
+       psk=$_APSK
+}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.