From: Soren Stoutner Date: Mon, 7 Mar 2022 20:26:58 +0000 (-0700) Subject: Add a higher level warning for antiquated protocols. https://redmine.stoutner.com... X-Git-Tag: v1.7~1 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=7467e75bda34246c91c4e4989b1c32a81314d53c;p=PrivacyCell.git Add a higher level warning for antiquated protocols. https://redmine.stoutner.com/issues/795 --- diff --git a/app/src/main/assets/css/theme.css b/app/src/main/assets/css/theme.css index a78eb75..4ba9d88 100644 --- a/app/src/main/assets/css/theme.css +++ b/app/src/main/assets/css/theme.css @@ -34,7 +34,7 @@ a { @media (prefers-color-scheme: dark) { a { - color: #5785C5; /* Violet 700 */ + color: #8AB4F8; /* Violet 500 */ } } diff --git a/app/src/main/assets/de/licenses.html b/app/src/main/assets/de/licenses.html index fff3db3..bb23459 100644 --- a/app/src/main/assets/de/licenses.html +++ b/app/src/main/assets/de/licenses.html @@ -1,7 +1,7 @@ + + + + + + + + + + + + +

You are connected to a cell phone network using antiquated protocols, which have multiple known vulnerabilities.

+ +

2G networks have been decommissioned in most of the world. + 3G networks are currently being decommissioned. Unless you know that the carrier in your area is running antiquated protocols, you should consider your device under active attack.

+ + \ No newline at end of file diff --git a/app/src/main/assets/en/licenses.html b/app/src/main/assets/en/licenses.html index 9ab6459..a7f1743 100644 --- a/app/src/main/assets/en/licenses.html +++ b/app/src/main/assets/en/licenses.html @@ -41,14 +41,22 @@ which are released under the Apache License 2.0. The full text of the license is below.

Icons

-

are derived from security and 5g, +

are derived from security and 5g, which are part of the Android Material icon set and are released under the Apache License 2.0. - The full text of the license is below. Modifications copyright © 2016,2021 Soren Stoutner. + The full text of the license is below. Modifications copyright © 2016, 2021-2022 Soren Stoutner. The resulting images are released under the GPLv3+ license.

-

are derived from security and do_not_disturb, +

are derived from security and warning_amber_rounded, which are part of the Android Material icon set and are released under the Apache License 2.0. - Modifications copyright © 2016,2021 Soren Stoutner. + Modifications copyright © 2016, 2022 Soren Stoutner. The resulting images are released under the GPLv3+ license.

+

are derived from security and do_not_disturb, + which are part of the Android Material icon set and are released under the Apache License 2.0. + Modifications copyright © 2016, 2021-2022 Soren Stoutner. + The resulting images are released under the GPLv3+ license.

+

is derived from security and 3g_mobiledata_rounded, + which are part of the Android Material icon set and are released under the Apache License 2.0. + Modifications copyright © 2016, 2022 Soren Stoutner. + The resulting image is released under the GPLv3+ license.

The following icons come from the Android Material icon set, which is released under the Apache License 2.0. They are unchanged except for layout information like color and size. Some of them have been renamed to match their use in the code. The original icons and names are shown below.

@@ -67,6 +75,7 @@

phone_android_outlined.

policy_filled.

save_outlined.

+

settings_input_antenna_rounded.

settings_rounded.

text_snippet_outlined.

diff --git a/app/src/main/assets/es/licenses.html b/app/src/main/assets/es/licenses.html index fbf47ee..dcd9838 100644 --- a/app/src/main/assets/es/licenses.html +++ b/app/src/main/assets/es/licenses.html @@ -1,7 +1,7 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/assets/images/antiquated_3g.svg b/app/src/main/assets/images/antiquated_3g.svg new file mode 100644 index 0000000..19e786a --- /dev/null +++ b/app/src/main/assets/images/antiquated_3g.svg @@ -0,0 +1,33 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/assets/images/antiquated_notification.svg b/app/src/main/assets/images/antiquated_notification.svg new file mode 100644 index 0000000..074e9e0 --- /dev/null +++ b/app/src/main/assets/images/antiquated_notification.svg @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/app/src/main/assets/images/insecure.svg b/app/src/main/assets/images/insecure.svg new file mode 100644 index 0000000..d4820a2 --- /dev/null +++ b/app/src/main/assets/images/insecure.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/assets/images/insecure_notification.svg b/app/src/main/assets/images/insecure_notification.svg index 3c62866..4408b7b 100644 --- a/app/src/main/assets/images/insecure_notification.svg +++ b/app/src/main/assets/images/insecure_notification.svg @@ -1,9 +1,9 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/assets/images/privacy_cell.svg b/app/src/main/assets/images/privacy_cell.svg deleted file mode 100644 index 24ed58a..0000000 --- a/app/src/main/assets/images/privacy_cell.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/assets/images/secure.svg b/app/src/main/assets/images/secure.svg new file mode 100644 index 0000000..d3a7176 --- /dev/null +++ b/app/src/main/assets/images/secure.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/assets/images/secure_notification.svg b/app/src/main/assets/images/secure_notification.svg index bb32173..a957ddf 100644 --- a/app/src/main/assets/images/secure_notification.svg +++ b/app/src/main/assets/images/secure_notification.svg @@ -3,7 +3,7 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/assets/it/licenses.html b/app/src/main/assets/it/licenses.html index 2792a83..3894559 100644 --- a/app/src/main/assets/it/licenses.html +++ b/app/src/main/assets/it/licenses.html @@ -1,7 +1,7 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/antiquated_3g_disabled.xml b/app/src/main/res/drawable/antiquated_3g_disabled.xml new file mode 100644 index 0000000..8750d1c --- /dev/null +++ b/app/src/main/res/drawable/antiquated_3g_disabled.xml @@ -0,0 +1,31 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/antiquated_3g_enabled.xml b/app/src/main/res/drawable/antiquated_3g_enabled.xml new file mode 100644 index 0000000..1d1e63a --- /dev/null +++ b/app/src/main/res/drawable/antiquated_3g_enabled.xml @@ -0,0 +1,31 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/antiquated_notification_disabled.xml b/app/src/main/res/drawable/antiquated_notification_disabled.xml new file mode 100644 index 0000000..3d58136 --- /dev/null +++ b/app/src/main/res/drawable/antiquated_notification_disabled.xml @@ -0,0 +1,31 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/antiquated_notification_enabled.xml b/app/src/main/res/drawable/antiquated_notification_enabled.xml new file mode 100644 index 0000000..b92bd73 --- /dev/null +++ b/app/src/main/res/drawable/antiquated_notification_enabled.xml @@ -0,0 +1,31 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/antiquated_notification_ghosted.xml b/app/src/main/res/drawable/antiquated_notification_ghosted.xml new file mode 100644 index 0000000..5f7496a --- /dev/null +++ b/app/src/main/res/drawable/antiquated_notification_ghosted.xml @@ -0,0 +1,31 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/insecure.xml b/app/src/main/res/drawable/insecure.xml new file mode 100644 index 0000000..ce16bf4 --- /dev/null +++ b/app/src/main/res/drawable/insecure.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/insecure_notification.xml b/app/src/main/res/drawable/insecure_notification.xml deleted file mode 100644 index 4253f2f..0000000 --- a/app/src/main/res/drawable/insecure_notification.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/insecure_notification_disabled.xml b/app/src/main/res/drawable/insecure_notification_disabled.xml new file mode 100644 index 0000000..0bd2267 --- /dev/null +++ b/app/src/main/res/drawable/insecure_notification_disabled.xml @@ -0,0 +1,31 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/insecure_notification_enabled.xml b/app/src/main/res/drawable/insecure_notification_enabled.xml new file mode 100644 index 0000000..550868f --- /dev/null +++ b/app/src/main/res/drawable/insecure_notification_enabled.xml @@ -0,0 +1,31 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/insecure_notification_ghosted.xml b/app/src/main/res/drawable/insecure_notification_ghosted.xml new file mode 100644 index 0000000..b2c70e3 --- /dev/null +++ b/app/src/main/res/drawable/insecure_notification_ghosted.xml @@ -0,0 +1,31 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/not_secure.xml b/app/src/main/res/drawable/not_secure.xml deleted file mode 100644 index aafcbcf..0000000 --- a/app/src/main/res/drawable/not_secure.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/realtime_monitoring_disabled.xml b/app/src/main/res/drawable/realtime_monitoring_disabled.xml deleted file mode 100644 index fe45484..0000000 --- a/app/src/main/res/drawable/realtime_monitoring_disabled.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/realtime_monitoring_enabled.xml b/app/src/main/res/drawable/realtime_monitoring_enabled.xml deleted file mode 100644 index 367ef0d..0000000 --- a/app/src/main/res/drawable/realtime_monitoring_enabled.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/realtime_monitoring_ghosted.xml b/app/src/main/res/drawable/realtime_monitoring_ghosted.xml deleted file mode 100644 index cf7cde8..0000000 --- a/app/src/main/res/drawable/realtime_monitoring_ghosted.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/secure.xml b/app/src/main/res/drawable/secure.xml new file mode 100644 index 0000000..14972a5 --- /dev/null +++ b/app/src/main/res/drawable/secure.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/secure_5g_nr_sa.xml b/app/src/main/res/drawable/secure_5g_nr_sa.xml deleted file mode 100644 index 9775270..0000000 --- a/app/src/main/res/drawable/secure_5g_nr_sa.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/secure_notification.xml b/app/src/main/res/drawable/secure_notification.xml deleted file mode 100644 index a1f3727..0000000 --- a/app/src/main/res/drawable/secure_notification.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/secure_notification_disabled.xml b/app/src/main/res/drawable/secure_notification_disabled.xml new file mode 100644 index 0000000..fe45484 --- /dev/null +++ b/app/src/main/res/drawable/secure_notification_disabled.xml @@ -0,0 +1,31 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/secure_notification_enabled.xml b/app/src/main/res/drawable/secure_notification_enabled.xml new file mode 100644 index 0000000..83bd9c1 --- /dev/null +++ b/app/src/main/res/drawable/secure_notification_enabled.xml @@ -0,0 +1,31 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/secure_notification_ghosted.xml b/app/src/main/res/drawable/secure_notification_ghosted.xml new file mode 100644 index 0000000..cf7cde8 --- /dev/null +++ b/app/src/main/res/drawable/secure_notification_ghosted.xml @@ -0,0 +1,31 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/privacy_cell_bottom_appbar.xml b/app/src/main/res/layout/privacy_cell_bottom_appbar.xml index af8fd57..cdc2850 100644 --- a/app/src/main/res/layout/privacy_cell_bottom_appbar.xml +++ b/app/src/main/res/layout/privacy_cell_bottom_appbar.xml @@ -67,7 +67,7 @@ . - Translation 2021 Bernhard G. Keller. Copyright assigned to Soren Stoutner . + Translation 2021-2022 Bernhard G. Keller. Copyright assigned to Soren Stoutner . This file is part of Privacy Cell . @@ -32,16 +32,13 @@ - Ihr Gerät ist mit einem 5G-Standalone-(SA)-Netzwerk verbunden.\n\nEs ist gegen gefälschte Basisstationen - (Man-In-The-Middle-Angriffe, Stingray, IMSI-Catcher) gesichert. - Ihr Gerät ist nicht mit einem 5G-Standalone-(SA)-Netzwerk verbunden.\n\nEs ist nicht gegen gefälschte Basisstationen - (Man-In-The-Middle-Angriffe, Stingray, IMSI-Catcher) gesichert. Sprach-Netzwerk: \u0020 %1$s Daten-Netzwerk: \u0020 %1$s Zusätzliche Netzwerk-Information: \u0020 %1$s Einstellungen + Protokolle Logcat Berechtigungen Datenschutz-Regeln @@ -54,6 +51,13 @@ Forum Spenden + + 2G + 3G + 4G + 5G + Andere + Unbekannt GPRS – 2.5G/3G @@ -142,7 +146,6 @@ Sicher Unsicher Sie sind mit einem sicheren Netzwerk verbunden. - Sie sind nicht mit einem sicheren Netzwerk verbunden. Der Sicherheits-Status des Netzwerks ist unbekannt. Sicheres Netzwerk Unsicheres Netzwerk diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 4651b8e..1028db8 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -3,7 +3,7 @@ - Su dispositivo está conectado a una red 5G independiente.\n\n Está protegido de los ataques \"stingray IMSI man-in-the-middle\". - Su dispositivo no está conectado a una red 5G independiente.\n\n No está protegido de los ataques \"stingray IMSI man-in-the-middle\". Red de voz: \u0020 %1$s Red de datos: \u0020 %1$s Información adicional sobre la red: \u0020 %1$s Ajustes + Protocolos Logcat Permisos Política de privacidad @@ -52,6 +51,13 @@ Foro Donaciones + + 2G + 3G + 4G + 5G + Otro + Desconocido GPRS – 2.5G/3G @@ -140,7 +146,6 @@ Seguro Inseguro Estás conectado a una red segura. - No estás conectado a una red segura. La seguridad de la red es desconocida. Red segura Red insegura diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index ffea456..0dfa7c2 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -3,7 +3,7 @@ - Votre appareil est connecté à un réseau 5G standalone.\n\nIl est protégé contre les attaques du type man-in-the-middle par des IMSI catcher. - Votre appareil n\'est pas connecté à un réseau 5G standalone.\n\nIl n\'est pas protégé contre les attaques du type man-in-the-middle par des IMSI catcher. Réseau voix : \u0020 %1$s Réseau de données : \u0020 %1$s Informations réseau additionnelles : \u0020 %1$s Réglages + Protocoles Logcat Autorisations Politique de confidentialité @@ -52,6 +51,13 @@ Forum Dons + + 2G + 3G + 4G + 5G + Autres + Inconnu GPRS – 2.5G/3G @@ -140,7 +146,6 @@ Sécurisé Non-sécurisé Vous êtes connecté à un réseau sécurisé. - You are not connected to a secure network. La sécurité du réseau est inconnue. Réseau sécurisé Réseau non-sécurisé diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 235dabd..ee7e1eb 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -3,7 +3,7 @@ - Il tuo dispositivo è connesso a una rete 5G autonoma.\n\nLa rete è sicura da attacchi del tipo stingray IMSI man-in-the-middle. - Il tuo dispositivo non è connesso a una rete 5G autonoma.\n\nLa rete non è sicura da attacchi del tipo stingray IMSI man-in-the-middle. Rete voce: \u0020 %1$s Rete dati: \u0020 %1$s Informazioni aggiuntive sulla rete: \u0020 %1$s Impostazioni + Protocolli Logcat Autorizzazioni Privacy Policy @@ -52,6 +51,13 @@ Forum Donazioni + + 2G + 3G + 4G + 5G + Altri + Sconosciuta GPRS – 2.5G/3G @@ -140,7 +146,6 @@ Sicura Insicura Sei connesso ad una rete sicura. - Non sei connesso ad una rete sicura. Il livello di sicurezza della rete è sconosciuto. Rete sicura Rete insicura diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 194ddaf..16f3a88 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -20,12 +20,16 @@ + @color/violet_500 @color/violet_500 @color/gray_500 @color/violet_500 @color/gray_700 @color/white + @color/salmon + @color/red_900 @color/salmon + @color/yellow_700 #FF000000 @@ -42,12 +46,17 @@ #FFE53935 #FFD32F2F + #FFB71C1C #FFFC684E #FFC73625 + #FFFBC02D + #FFF57F17 + #FF8AB4F8 + #FF5785C5 #FFFFFFFF diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index ddad096..47dcbb1 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -30,14 +30,13 @@ - Ваше устройство подключено к автономной сети 5G.\n\nОно защищено от атак типа StingRay IMSI (человек посередине). - Ваше устройство не подключено к автономной сети 5G.\n\nОно не защищено от атак типа StingRay IMSI (человек посередине). Сеть голосовой связи: \u0020 %1$s Сеть передачи данных: \u0020 %1$s Дополнительная информация о сети: \u0020 %1$s Настройки + Протоколы Logcat Разрешения Политика конфиденциальности @@ -50,6 +49,13 @@ Форум Пожертвования + + 2G + 3G + 4G + 5G + Другой + Неизвестно GPRS – 2.5G/3G @@ -138,7 +144,6 @@ Безопасна Небезопасна Вы подключены к безопасной сети. - Вы подключены к небезопасной сети. Безопасность сети не определена. Безопасная сеть Небезопасная сеть diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 2b2a8fc..87a0154 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -20,14 +20,21 @@ + @color/blue_700 @color/blue_700 @color/gray_600 @color/blue_700 @color/gray_425 @color/gray_925 + @color/red_700 + @color/red_700 @color/red_700 + @color/yellow_700 + #FFFFD54F + #FFFFC107 + #FF000000 #FF2196F3 @@ -40,14 +47,28 @@ #FF616161 #FF202020 + #FFEEFF41 + #FFE53935 #FFD32F2F + #FFB71C1C #FFFC684E #FFC73625 + #FFFFFDE7 + #FFFFF9C4 + #FFFFF176 + #FFFFEB3B + #FFFBC02D + #FFF57F17 + + #FFFFFF00 + #FFFFEA00 + #FF8AB4F8 + #FF5785C5 #FFFFFFFF diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9fa5e3e..17356f3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -34,8 +34,9 @@ - Your device is connected to a standalone 5G network.\n\nIt is secure from stingray IMSI man-in-the-middle attacks. - Your device is not connected to a standalone 5G network.\n\nIt is not secure from stingray IMSI man-in-the-middle attacks. + Your device is connected to a network using secure protocols.\n\nIt is secure from stingray IMSI man-in-the-middle attacks. + Your device is connected to a network using insecure protocols.\n\nIt is not secure from stingray IMSI man-in-the-middle attacks. + Your device is connected to a network using antiquated protocols.\n\nIt is exposed to numerous security vulnerabilities. Voice network: \u0020 %1$s Data network: \u0020 %1$s Additional network info: \u0020 %1$s @@ -124,6 +125,7 @@ Stingrays + Antiquated Network Close @@ -132,6 +134,9 @@ Place an icon in the status bar that monitors the cell network. Secure network notification Insecure network notification + Antiquated network notification + Consider 3G antiquated + Consider the 3G protocols to be antiquated. At a future point this will become the default. Changing this setting will restart Privacy Cell. Interface Bottom app bar Move the app bar to the bottom of the screen. Changing this setting will restart Privacy Cell. @@ -149,11 +154,14 @@ Secure Insecure + Antiquated You are connected to a secure network. - You are not connected to a secure network. + You are connected to an insecure network. + You are connected to an antiquated network. The security of the network is unknown. Secure network Insecure network + Antiquated network Unknown network @@ -164,6 +172,8 @@ realtime_monitoring secure_network_notification insecure_network_notification + antiquated_network_notification + consider_3g_antiquated interface bottom_app_bar \ No newline at end of file diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index d41c3ca..20dc853 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -38,6 +38,16 @@ + + + +