From: Tobias Brunner Date: Tue, 13 Jul 2021 13:05:29 +0000 (+0200) Subject: android: Request QUERY_ALL_PACKAGES permission X-Git-Tag: android-2.3.3^2~1 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a14337bcded266d63d5600e0b8d864d87f24b31d;p=thirdparty%2Fstrongswan.git android: Request QUERY_ALL_PACKAGES permission This is required when targeting Android 11 (API 30) in order to see all packages, which we use to allow selecting apps ex-/included from VPN profiles and for the EAP-TNC use case. --- diff --git a/src/frontends/android/app/src/main/AndroidManifest.xml b/src/frontends/android/app/src/main/AndroidManifest.xml index 3f6302d070..0fd8f45d94 100644 --- a/src/frontends/android/app/src/main/AndroidManifest.xml +++ b/src/frontends/android/app/src/main/AndroidManifest.xml @@ -24,6 +24,9 @@ + + Per-App VPN erlaubt die VPN-Verbindung nur bestimmten Apps zur Verfügung zu stellen bzw. ausgewählte Apps von der Nutzung des VPN auszuschliessen
  • Die IPsec-Implementierung unterstützt derzeit die AES-CBC, AES-GCM, ChaCha20/Poly1305 und SHA1/SHA2-Algorithmen
  • Passwörter werden zurzeit als Klartext in der Datenbank gespeichert (nur wenn diese mit einem Profil gespeichert werden)
  • -
  • VPN Profile können von Dateien importiert werden (dies ist der einzige Grund weshalb die App android.permission.READ_EXTERNAL_STORAGE verlangt)
  • +
  • VPN Profile können von Dateien importiert werden
  • Details und ein Changelog sind auf unserem Wiki zu finden: https://wiki.strongswan.org/projects/strongswan/wiki/AndroidVPNClient +# PERMISSIONS # + +
      +
    • READ_EXTERNAL_STORAGE: Erlaubt den Import von VPN Profilen und CA Zertifikaten von externen Speichern unter bestimmten Android-Versionen
    • +
    • QUERY_ALL_PACKAGES: Benötigt unter Android 11+ für die Auswahl von Apps in VPN Profilen und den optionalen EAP-TNC Anwendungsfall
    • +
    + # BEISPIEL-SERVERKONFIGURATION # Sie finden in unserem Wiki Beispiel-Serverkonfigurationen: https://wiki.strongswan.org/projects/strongswan/wiki/AndroidVPNClient#Server-Configuration @@ -31,4 +38,4 @@ Beachten Sie bitte, dass der im VPN Profil konfigurierte Hostname (bzw. die IP-A Bitte senden Sie uns Ihre Bug-Reports und Feature-Requests über GitHub: https://github.com/strongswan/strongswan/issues/new/choose Falls Sie dies tun, so fügen Sie bitte Informationen über Ihr Gerät bei (Hersteller, Modell, OS Version usw.). -Die Log-Datei des Schlüsselaustausch-Dienstes kann direkt aus der Anwendung heraus via E-Mail versendet werden. \ No newline at end of file +Die Log-Datei des Schlüsselaustausch-Dienstes kann direkt aus der Anwendung heraus via E-Mail versendet werden. diff --git a/src/frontends/android/app/src/main/play/listings/en-US/full-description.txt b/src/frontends/android/app/src/main/play/listings/en-US/full-description.txt index dfc8dd3599..71848f1855 100644 --- a/src/frontends/android/app/src/main/play/listings/en-US/full-description.txt +++ b/src/frontends/android/app/src/main/play/listings/en-US/full-description.txt @@ -15,11 +15,18 @@ Official Android port of the popular strongSwan VPN solution.
  • Per-app VPN allows limiting the VPN connection to specific apps, or exclude them from using it
  • The IPsec implementation currently supports the AES-CBC, AES-GCM, ChaCha20/Poly1305 and SHA1/SHA2 algorithms
  • Passwords are currently stored as cleartext in the database (only if stored with a profile)
  • -
  • VPN profiles may be imported from files (this is the only reason why the app requests android.permission.READ_EXTERNAL_STORAGE)
  • +
  • VPN profiles may be imported from files
  • Details and a changelog can be found on our wiki: https://wiki.strongswan.org/projects/strongswan/wiki/AndroidVPNClient +# PERMISSIONS # + +
      +
    • READ_EXTERNAL_STORAGE: Allows importing VPN profiles and CA certificates from external storage on some Android versions
    • +
    • QUERY_ALL_PACKAGES: Required on Android 11+ to select apps to ex-/include in VPN profiles and the optional EAP-TNC use case
    • +
    + # EXAMPLE SERVER CONFIGURATION # Example server configurations may be found on our wiki: https://wiki.strongswan.org/projects/strongswan/wiki/AndroidVPNClient#Server-Configuration @@ -31,4 +38,4 @@ Please note that the host name (or IP address) configured with a VPN profile in Please post bug reports and feature requests via GitHub: https://github.com/strongswan/strongswan/issues/new/choose If you do so, please include information about your device (manufacturer, model, OS version etc.). -The log file written by the key exchange service can be sent directly from within the application. \ No newline at end of file +The log file written by the key exchange service can be sent directly from within the application.