1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 06:11:19 +00:00
syncthing-android/wiki/Switch-between-releases_Verify-APK-is-genuine.md

1.5 KiB

Syncthing-Fork "Wrapper for Syncthing" has three release channels:

  1. GitHub release page, e. g. com.github.catfriend1.syncthingandroid_1.0.0.1_7d59e75.apk

  2. F-Droid client or website, e. g. com.github.catfriend1.syncthingandroid_fdroid_1.0.0.1_7d59e75.apk

  3. Google Play Store, e. g. com.github.catfriend1.syncthingandroid_gplay_1.0.0.1_7d59e75.apk

The signing on these release channels differ, so if you wish to change to a different channel:

  • Run existing app installation
    • Open the drawer on the left side > Import & Export > Export configuration
  • Uninstall app
  • Install app from your preferred release channel
  • Run app
    • Complete the welcome wizard
    • Open the drawer on the left side > Import & Export > Import configuration

To verify your downloaded APK, compare the certificate hash of the APK to the one's listed below. It has to match one of them to indicate you have a genuine version of the app.

  1. GitHub APK: 2ScaPj41giu4vFh+Y7Q0GJTqwbA=

  2. F-Droid APK: nyupq9aU0x6yK8RHaPra5GbTqQY=

  3. Google Play APK: dQAnHXvlh80yJgrQUCo6LAg4294=

Here is a quick way of getting the certificate hash out of an APK file on Linux:

  • keytool -list -printcert -jarfile "/path/to/release.apk" | grep "SHA1: " | cut -d " " -f 3 | xxd -r -p | openssl base64