diff options
author | pstew <pstew@chromium.org> | 2015-11-04 11:21:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-04 19:23:18 +0000 |
commit | 418647a8740a5ea7314d224721728abbadf2f236 (patch) | |
tree | af8edf7609a68b0b2e5a942e4263977181e7f435 /chromeos/test/data/network | |
parent | 23f406f957bfc311337e2d9ee83ea1b44ff8e82e (diff) | |
download | chromium_src-418647a8740a5ea7314d224721728abbadf2f236.zip chromium_src-418647a8740a5ea7314d224721728abbadf2f236.tar.gz chromium_src-418647a8740a5ea7314d224721728abbadf2f236.tar.bz2 |
Translate 802.1x WEP ("Enterprise WEP")
This CL adds translation of "Enterprise WEP": 802.1x authentication
with WEP encryption.
BUG=551085
TEST=New unit tests
R=stevenjb@chromium.org
Review URL: https://codereview.chromium.org/1412283006
Cr-Commit-Position: refs/heads/master@{#357867}
Diffstat (limited to 'chromeos/test/data/network')
3 files changed, 64 insertions, 0 deletions
diff --git a/chromeos/test/data/network/shill_wifi_wep_8021x_clientcert.json b/chromeos/test/data/network/shill_wifi_wep_8021x_clientcert.json new file mode 100644 index 0000000..e4aadb4 --- /dev/null +++ b/chromeos/test/data/network/shill_wifi_wep_8021x_clientcert.json @@ -0,0 +1,14 @@ +{ + "EAP.EAP": "TLS", + "EAP.Identity": "abc ${LOGIN_ID}@my.domain.com", + "EAP.UseProactiveKeyCaching": true, + "EAP.UseSystemCAs": true, + "GUID": "{77db0089-0bc8-4358-929c-123xcv}", + "EAP.KeyMgmt": "IEEE8021X", + "Mode": "managed", + "ProxyConfig": "{\"mode\":\"pac_script\",\"pac_mandatory\":false,\"pac_url\":\"https://proxycfg.my.domain.com/proxy.dat\"}", + "SaveCredentials": true, + "SecurityClass": "wep", + "Type": "wifi", + "WiFi.HexSSID": "4F70656E577274" // "OpenWrt" +} diff --git a/chromeos/test/data/network/translation_of_shill_wifi_wep_8021x_clientcert.onc b/chromeos/test/data/network/translation_of_shill_wifi_wep_8021x_clientcert.onc new file mode 100644 index 0000000..ee6c5f4 --- /dev/null +++ b/chromeos/test/data/network/translation_of_shill_wifi_wep_8021x_clientcert.onc @@ -0,0 +1,20 @@ +{ + "GUID":"{77db0089-0bc8-4358-929c-123xcv}", + "Name":"", + "ProxySettings": { + "Type": "PAC", + "PAC": "https://proxycfg.my.domain.com/proxy.dat" + }, + "Type":"WiFi", + "WiFi":{ + "EAP": { + "Identity": "abc ${LOGIN_ID}@my.domain.com", + "SaveCredentials": true, + "UseProactiveKeyCaching": true, + "UseSystemCAs": true + }, + "HexSSID":"4F70656E577274", // "OpenWrt" + "SSID":"OpenWrt", + "Security":"WEP-8021X" + } +} diff --git a/chromeos/test/data/network/wifi_wep_8021x_clientcert_with_cert_pems.onc b/chromeos/test/data/network/wifi_wep_8021x_clientcert_with_cert_pems.onc new file mode 100644 index 0000000..1bf4a16 --- /dev/null +++ b/chromeos/test/data/network/wifi_wep_8021x_clientcert_with_cert_pems.onc @@ -0,0 +1,30 @@ +{ + "GUID": "{77db0089-0bc8-4358-929c-123xcv}", + "Type": "WiFi", + "Name": "SomeWifi-XY", + "WiFi": { + "HexSSID": "4F70656E577274", // Hex of "OpenWrt" + "Security": "WEP-8021X", + "Recommended": [ "AutoConnect" ], + "EAP": { + "Outer": "EAP-TLS", + "Identity": "abc ${LOGIN_ID}@my.domain.com", + "UseProactiveKeyCaching": true, + "UseSystemCAs": true, + "ClientCertType": "Pattern", + "ClientCertPattern": { + "IssuerCAPEMs": [ + "pem1", + "pem2" + ], + "EnrollmentURI": [ "chrome-extension://delkjfjibodjclmdijflfnimdmgdagfk/generate-cert.html" ] + }, + "Recommended": [ "Identity" ], + "SaveCredentials": true + } + }, + "ProxySettings": { + "Type": "PAC", + "PAC": "https://proxycfg.my.domain.com/proxy.dat" + } +} |