   (package-refresh-contents)
   (package-install 'use-package))
 (setq use-package-verbose t)
+
+;; Lets secure out editor just a bit
+;; Found at: https://glyph.twistedmatrix.com/2015/11/editor-malware.html
+(setq tls-checktrust t)
+
+;; Because Emacs no longer trusts https, we need to distribute trust root certs
+;; I'm using PyPi 'certifi' which can be installed in pip.
+;; I'm also using gnutls-cli (Debian: gnutls-bin. OSX: gnutls)
+(let ((trustfile
+       (replace-regexp-in-string
+        "\\\\" "/"
+        (replace-regexp-in-string
+         "\n" ""
+         (shell-command-to-string "python -m certifi")))))
+  (setq tls-program
+        (list
+         (format "gnutls-cli%s --x509cafile %s -p %%p %%h"
+                 (if (eq window-system 'w32) ".exe" "") trustfile)))
+  (setq gnutls-verify-error t)
+  (setq gnutls-trustfiles (list trustfile)))
 
 (add-to-list 'default-frame-alist '(font . "Inconsolata-13"))
 

;; ------------------------------------------------------------

;; Melpa
(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives
             '("melpa-stable" . "http://stable.melpa.org/packages/"))

(package-initialize)


 ;; If there is more than one, they won't work right.
 '(custom-safe-themes
   (quote
    ("8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" default)))
 '(neo-create-file-auto-open t)
 '(neo-dont-be-alone nil)
 '(neo-keymap-style (quote concise))
