all repos — archive/dotfiles @ 321bf7276b55ed9b26037514bda69b68fcd264e4

Superseded by nixfiles

Emacs: Use secure package archives
Alan Pearce alan@alanpearce.uk
Wed, 22 Feb 2017 11:42:29 +0100
commit

321bf7276b55ed9b26037514bda69b68fcd264e4

parent

20a401b8d2b7ee5185e1a75530b273d2e98fe8af

1 files changed, 5 insertions(+), 4 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -37,10 +37,11 @@ ** Use-package 
 #+BEGIN_SRC emacs-lisp
 (eval-and-compile
-  (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
-                           ("marmalade" . "http://marmalade-repo.org/packages/")
-                           ("melpa-stable" . "http://stable.melpa.org/packages/")
-                           ("melpa" . "http://melpa.org/packages/"))
+  (setq tls-checktrust t
+        gnutls-verify-error t
+        package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
+                           ("melpa-stable" . "https://stable.melpa.org/packages/")
+                           ("melpa" . "https://melpa.org/packages/"))
         package-user-dir (concat "~/.emacs.d/packages/" emacs-version "/elpa")
         package-pinned-packages '(("use-package" . melpa-stable)
                                   ("diminish" . melpa-stable)