]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
wireless client: Remove option for WEP
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 20 Feb 2022 17:56:31 +0000 (17:56 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 21 Feb 2022 20:56:01 +0000 (20:56 +0000)
This has not been compiled into our version of wpa_supplicant (if it has
been ever) and so there is no danger to disable this without any further
ado.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
15 files changed:
doc/language_issues.en
doc/language_issues.es
doc/language_issues.pl
doc/language_issues.ru
doc/language_missings
html/cgi-bin/wirelessclient.cgi
langs/de/cgi-bin/de.pl
langs/en/cgi-bin/en.pl
langs/es/cgi-bin/es.pl
langs/fr/cgi-bin/fr.pl
langs/it/cgi-bin/it.pl
langs/nl/cgi-bin/nl.pl
langs/pl/cgi-bin/pl.pl
langs/ru/cgi-bin/ru.pl
langs/tr/cgi-bin/tr.pl

index 867715953ea439c4a85e71b161b21aeb169bbdd0..6536ad71fafe7c03ac402d439ba64a41665188f6 100644 (file)
@@ -2154,7 +2154,6 @@ WARNING: untranslated string: wlan client edit entry = Edit wireless client conf
 WARNING: untranslated string: wlan client encryption = Encryption
 WARNING: untranslated string: wlan client encryption eap = EAP
 WARNING: untranslated string: wlan client encryption none = None
-WARNING: untranslated string: wlan client encryption wep = WEP
 WARNING: untranslated string: wlan client encryption wpa = WPA
 WARNING: untranslated string: wlan client encryption wpa2 = WPA2
 WARNING: untranslated string: wlan client encryption wpa3 = WPA3
index 091f0a8cb2e460a5b7b98b65b60b5aba10090ce6..160d2a27ecaa91c0891c60d701132b6ca2986da3 100644 (file)
@@ -1554,7 +1554,6 @@ WARNING: untranslated string: wlan client edit entry = Edit wireless client conf
 WARNING: untranslated string: wlan client encryption = Encryption
 WARNING: untranslated string: wlan client encryption eap = EAP
 WARNING: untranslated string: wlan client encryption none = None
-WARNING: untranslated string: wlan client encryption wep = WEP
 WARNING: untranslated string: wlan client encryption wpa = WPA
 WARNING: untranslated string: wlan client encryption wpa2 = WPA2
 WARNING: untranslated string: wlan client encryption wpa3 = WPA3
index 6314c44564ec9100ce6e88bc4be458c6f5a26513..67ca845578f31d6484ff48b9edcc3871ade7d480 100644 (file)
@@ -1560,7 +1560,6 @@ WARNING: untranslated string: wlan client edit entry = Edit wireless client conf
 WARNING: untranslated string: wlan client encryption = Encryption
 WARNING: untranslated string: wlan client encryption eap = EAP
 WARNING: untranslated string: wlan client encryption none = None
-WARNING: untranslated string: wlan client encryption wep = WEP
 WARNING: untranslated string: wlan client encryption wpa = WPA
 WARNING: untranslated string: wlan client encryption wpa2 = WPA2
 WARNING: untranslated string: wlan client encryption wpa3 = WPA3
index 6589fe087eb9658b67e156837280168d3e8747f5..7b7425db2b8e2c81d20fbce5dcfd721b9f998686 100644 (file)
@@ -1555,7 +1555,6 @@ WARNING: untranslated string: wlan client edit entry = Edit wireless client conf
 WARNING: untranslated string: wlan client encryption = Encryption
 WARNING: untranslated string: wlan client encryption eap = EAP
 WARNING: untranslated string: wlan client encryption none = None
-WARNING: untranslated string: wlan client encryption wep = WEP
 WARNING: untranslated string: wlan client encryption wpa = WPA
 WARNING: untranslated string: wlan client encryption wpa2 = WPA2
 WARNING: untranslated string: wlan client encryption wpa3 = WPA3
index 68ccda06214335c85f756b8c6b42fbdec7299832..44946ebf080c133ba79bdce13b3d402e786661ee 100644 (file)
 < wlan client encryption
 < wlan client encryption eap
 < wlan client encryption none
-< wlan client encryption wep
 < wlan client encryption wpa
 < wlan client encryption wpa2
 < wlan client encryption wpa3
 < wlan client encryption
 < wlan client encryption eap
 < wlan client encryption none
-< wlan client encryption wep
 < wlan client encryption wpa
 < wlan client encryption wpa2
 < wlan client encryption wpa3
 < wlan client encryption
 < wlan client encryption eap
 < wlan client encryption none
-< wlan client encryption wep
 < wlan client encryption wpa
 < wlan client encryption wpa2
 < wlan client encryption wpa3
index 00d17790422d7644e8af5d7224ddc7872f8ebb2a..19c5bea501af8151d14745b9c36b92671f4722a4 100644 (file)
@@ -318,8 +318,6 @@ END
                my $encryption_mode = $Lang::tr{'unknown'};
                if ($config[3] eq "NONE") {
                        $encryption_mode = $Lang::tr{'wlan client encryption none'};
-               } elsif ($config[3] eq "WEP") {
-                       $encryption_mode = $Lang::tr{'wlan client encryption wep'};
                } elsif ($config[3] eq "WPA") {
                        $encryption_mode = $Lang::tr{'wlan client encryption wpa'};
                } elsif ($config[3] eq "WPA2") {
@@ -467,7 +465,6 @@ sub showEditBox() {
        $selected{'ENCRYPTION'}{'WPA3'} = '';
        $selected{'ENCRYPTION'}{'WPA2'} = '';
        $selected{'ENCRYPTION'}{'WPA'} = '';
-       $selected{'ENCRYPTION'}{'WEP'} = '';
        $selected{'ENCRYPTION'}{$settings{'ENCRYPTION'}} = "selected='selected'";
 
        $selected{'WPA_MODE'} = ();
@@ -511,7 +508,6 @@ sub showEditBox() {
                                                        <option value="WPA3" $selected{'ENCRYPTION'}{'WPA3'}>$Lang::tr{'wlan client encryption wpa3'}</option>
                                                        <option value="WPA2" $selected{'ENCRYPTION'}{'WPA2'}>$Lang::tr{'wlan client encryption wpa2'}</option>
                                                        <option value="WPA"  $selected{'ENCRYPTION'}{'WPA'}>$Lang::tr{'wlan client encryption wpa'}</option>
-                                                       <option value="WEP"  $selected{'ENCRYPTION'}{'WEP'}>$Lang::tr{'wlan client encryption wep'}</option>
                                                </select>
                                        </td>
                                        <td colspan="2" width='40%'></td>
@@ -838,15 +834,7 @@ sub ValidKeyLength($$) {
 
        my $key_length = length($key);
 
-       if ($algo eq "WEP") {
-               # Key must be 13 or 26 characters.
-               if (($key_length == 13) || ($key_length == 26)) {
-                       return 0;
-               }
-
-               return 1;
-
-       } elsif (($algo eq "WPA2") || ($algo eq "WPA")) {
+       if (($algo eq "WPA2") || ($algo eq "WPA")) {
                # Key must be between 8 and 63 chars.
                if (($key_length >= 8) && ($key_length <= 63)) {
                        return 0;
index a9b4dadd8e4e67d887e4c82d316b862fc88ab78a..0be0976092cae882d2aaa03580b6769ad8eaaa1b 100644 (file)
@@ -1,4 +1,4 @@
-%tr = ( 
+%tr = (
 %tr,
 
 '24 hours' => '24 Stunden',
 'wlan client encryption' => 'Verschlüsselung',
 'wlan client encryption eap' => 'EAP',
 'wlan client encryption none' => 'Keine',
-'wlan client encryption wep' => 'WEP',
 'wlan client encryption wpa' => 'WPA',
 'wlan client encryption wpa2' => 'WPA2',
 'wlan client group cipher' => 'Gruppenchiffre',
index ed0d756f52fafd704b7dcc103d49a77b9fdfbb0e..d98422621654cd893201d21451de89b90978460e 100644 (file)
@@ -1,4 +1,4 @@
-%tr = ( 
+%tr = (
 %tr,
 
 '24 hours' => '24 Hours',
 'wlan client encryption' => 'Encryption',
 'wlan client encryption eap' => 'EAP',
 'wlan client encryption none' => 'None',
-'wlan client encryption wep' => 'WEP',
 'wlan client encryption wpa' => 'WPA',
 'wlan client encryption wpa2' => 'WPA2',
 'wlan client encryption wpa3' => 'WPA3',
index 5fadb46573782a192c4ac0c4fee281b982a39b58..bd83b8db49b876219fd47a1d8e9a1f292a86be9e 100644 (file)
@@ -1,4 +1,4 @@
-%tr = ( 
+%tr = (
 %tr,
 
 'Act as' => 'Actuar Como:',
index 96c9209a2c7037da843db81b9c810383074175d6..9852b892b0e2defd515803e719d1c57059829dc9 100644 (file)
@@ -1,4 +1,4 @@
-%tr = ( 
+%tr = (
 %tr,
 
 '24 hours' => '24 heures',
 'wlan client encryption' => 'Chiffrement ',
 'wlan client encryption eap' => 'EAP',
 'wlan client encryption none' => 'Aucun',
-'wlan client encryption wep' => 'WEP',
 'wlan client encryption wpa' => 'WPA',
 'wlan client encryption wpa2' => 'WPA2',
 'wlan client encryption wpa3' => 'WPA3',
index 05a40a942808cb25151bd1cc4231ef752d397836..f333bad43bdd308e3f494f91bdfe55c1a6882f50 100644 (file)
@@ -1,4 +1,4 @@
-%tr = ( 
+%tr = (
 %tr,
 
 'Act as' => 'Lavora come:',
 'wlan client edit entry' => 'Edit wireless client configuration',
 'wlan client encryption' => 'Encryption',
 'wlan client encryption none' => 'None',
-'wlan client encryption wep' => 'WEP',
 'wlan client encryption wpa' => 'WPA',
 'wlan client encryption wpa2' => 'WPA2',
 'wlan client group cipher' => 'Group cipher',
index 7dc7ff663857aa417ba22179c5be0726f4885502..3169908db2bbf87651fb53a67e0de194f2ddc587 100644 (file)
@@ -1,4 +1,4 @@
-%tr = ( 
+%tr = (
 %tr,
 
 'Act as' => 'Fungeren als:',
 'wlan client edit entry' => 'Wijzig draadloze client configuratie',
 'wlan client encryption' => 'Encryptie',
 'wlan client encryption none' => 'Geen',
-'wlan client encryption wep' => 'WEP',
 'wlan client encryption wpa' => 'WPA',
 'wlan client encryption wpa2' => 'WPA2',
 'wlan client group cipher' => 'Group cipher',
index 54e5bb0890159cc44783d4e40c60922627457b79..f44c4bcae7a4c722ad317f8fe0d8c2722bad6685 100644 (file)
@@ -1,4 +1,4 @@
-%tr = ( 
+%tr = (
 %tr,
 
 'Act as' => 'Act as:',
index 7741006b3fb90fb30dab72ed1e3f52106283d127..d5bac720419992a367f1d245cf0f50097f4816dd 100644 (file)
@@ -1,4 +1,4 @@
-%tr = ( 
+%tr = (
 %tr,
 
 'Act as' => 'В качестве:',
index 8831d99a43931e9d3e68094557780df0f2df7b55..16004382049e5a8dda10f808f6873a49cb3db3e6 100644 (file)
@@ -1,4 +1,4 @@
-%tr = ( 
+%tr = (
 %tr,
 
 '24 hours' => '24 Saat',
 'wlan client encryption' => 'Şifreleme',
 'wlan client encryption eap' => 'EAP',
 'wlan client encryption none' => 'Hiçbiri',
-'wlan client encryption wep' => 'WEP',
 'wlan client encryption wpa' => 'WPA',
 'wlan client encryption wpa2' => 'WPA2',
 'wlan client group cipher' => 'Grup şifreleme',