diff --git a/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java b/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java
index e22862f9..659c0645 100644
--- a/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java
+++ b/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java
@@ -133,6 +133,9 @@ public class SyncthingRunnable implements Runnable {
env.put("all_proxy", "socks5://localhost:9050");
env.put("ALL_PROXY_NO_FALLBACK", "1");
}
+ if (sp.getBoolean("use_legacy_hashing", false))
+ env.put("STHASHING", "standard");
+
process = pb.start();
mSyncthing.set(process);
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 32bc1391..dc5259ac 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -306,6 +306,10 @@ Please report any problems you encounter via Github.
Force all traffic through Tor for increased privacy. Requires Orbot
+ Use legacy hashing
+
+ Force syncthing to use legacy hashing package for compatibility purposes
+
Do you really want to export your configuration? Existing files will be overwritten.\n\nWARNING! Other applications may be able to read the private key from the backup location and use it to download/modify synchronized files.
diff --git a/src/main/res/xml/app_settings.xml b/src/main/res/xml/app_settings.xml
index 858de9a9..2b180174 100644
--- a/src/main/res/xml/app_settings.xml
+++ b/src/main/res/xml/app_settings.xml
@@ -188,6 +188,11 @@
android:title="@string/use_tor_title"
android:summary="@string/use_tor_summary" />
+
+