summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2019-09-16 21:09:32 +0200
committerStefan Kangas <stefankangas@gmail.com>2019-09-20 19:20:38 +0200
commitf1f2de7cdfa5e20577bbc2e2bf29de4cce525002 (patch)
treeaaed4b6a21986613296fcb4e40b78e1743738319
parentcc59e292cf070296df5d0f73eef48af32e71f5f0 (diff)
downloademacs-f1f2de7cdfa5e20577bbc2e2bf29de4cce525002.tar.gz
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).
(Other types of URL are currently not supported.)
Only add locations that you trust, since fetching and installing
-a package can run arbitrary code."
+a package can run arbitrary code.
+
+HTTPS URLs should be used where possible, as they offer superior
+security."
:type '(alist :key-type (string :tag "Archive name")
:value-type (string :tag "URL or directory name"))
:risky t