summaryrefslogtreecommitdiff
path: root/libre/icedove-extension-enigmail/0001-preferences-disable-pEpAutoDownload-by-default.patch
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-26 19:51:41 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-26 19:51:55 +0100
commita8644c6e75c90edd558835d323f18d4b1dbcfa0f (patch)
tree627bea0c930f7c66faea9d42a5845ffab20f9992 /libre/icedove-extension-enigmail/0001-preferences-disable-pEpAutoDownload-by-default.patch
parent6eabdb80c7b1180b9d402edac02aab4bc190d1f9 (diff)
libre/icedove-extension-enigmail: moved from pcr/icedove-enigmail to replace community/thunderbird-extension-enigmail
Diffstat (limited to 'libre/icedove-extension-enigmail/0001-preferences-disable-pEpAutoDownload-by-default.patch')
-rw-r--r--libre/icedove-extension-enigmail/0001-preferences-disable-pEpAutoDownload-by-default.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/libre/icedove-extension-enigmail/0001-preferences-disable-pEpAutoDownload-by-default.patch b/libre/icedove-extension-enigmail/0001-preferences-disable-pEpAutoDownload-by-default.patch
new file mode 100644
index 000000000..afc10a9d6
--- /dev/null
+++ b/libre/icedove-extension-enigmail/0001-preferences-disable-pEpAutoDownload-by-default.patch
@@ -0,0 +1,27 @@
+From 83d412cf08d76fab5e79b6f261c3145372337d5e Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz@archlinux.org>
+Date: Thu, 10 Jan 2019 11:38:38 -0500
+Subject: [PATCH] preferences: disable pEpAutoDownload by default
+
+Distributions should not automatically download this untrusted code;
+should be opt-in by users or be packaged separately.
+---
+ package/prefs/defaultPrefs.js | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/package/prefs/defaultPrefs.js b/package/prefs/defaultPrefs.js
+index d5ca1249..f8c10a47 100755
+--- a/package/prefs/defaultPrefs.js
++++ b/package/prefs/defaultPrefs.js
+@@ -204,7 +204,7 @@ pref("extensions.enigmail.warnDownloadContactKeys", true);
+ pref("extensions.enigmail.wrapHtmlBeforeSend", true);
+
+ // automatically download pepmda if it is available (without askin user)
+-pref("extensions.enigmail.pEpAutoDownload", true);
++pref("extensions.enigmail.pEpAutoDownload", false);
+
+ // holds the last result of the last check for pEp updates
+ pref("extensions.enigmail.pEpLastUpdate", 0);
+--
+2.20.1
+