aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2019-09-16 21:09:32 +0200
committerStefan Kangas2019-09-20 19:20:38 +0200
commitf1f2de7cdfa5e20577bbc2e2bf29de4cce525002 (patch)
treeaaed4b6a21986613296fcb4e40b78e1743738319
parentcc59e292cf070296df5d0f73eef48af32e71f5f0 (diff)
downloademacs-f1f2de7cdfa5e20577bbc2e2bf29de4cce525002.tar.gz
emacs-f1f2de7cdfa5e20577bbc2e2bf29de4cce525002.zip
Recommend using https for package-archives
* lisp/emacs-lisp/package.el (package-archives): Recommend using https sources where possible. (Bug#33825)
-rw-r--r--lisp/emacs-lisp/package.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index ef0c5171de6..1e136cb54f7 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -214,7 +214,10 @@ Each element has the form (ID . LOCATION).
214 (Other types of URL are currently not supported.) 214 (Other types of URL are currently not supported.)
215 215
216Only add locations that you trust, since fetching and installing 216Only add locations that you trust, since fetching and installing
217a package can run arbitrary code." 217a package can run arbitrary code.
218
219HTTPS URLs should be used where possible, as they offer superior
220security."
218 :type '(alist :key-type (string :tag "Archive name") 221 :type '(alist :key-type (string :tag "Archive name")
219 :value-type (string :tag "URL or directory name")) 222 :value-type (string :tag "URL or directory name"))
220 :risky t 223 :risky t