Remove calls to gpg; i moved irc to weechat.

s2svpn
jowj 5 years ago
parent d4ab648f4e
commit cdbef4e6b5

@ -35,15 +35,11 @@
'(epg-gpg-program "/usr/local/bin/gpg")
'(global-hl-line-mode t)
'(package-selected-packages
(quote
(org-pdfview jedi znc yaml-mode which-key use-package twittering-mode try smex racer python-mode pylint py-autopep8 powershell pdf-tools outline-magic org2blog multiple-cursors magit helm flycheck-rust eyebrowse exec-path-from-shell emojify elpy ein doom-themes dockerfile-mode docker csharp-mode ansible anaconda-mode ace-window)))
'(org-pdfview jedi znc yaml-mode which-key use-package twittering-mode try smex racer python-mode pylint py-autopep8 powershell pdf-tools outline-magic org2blog multiple-cursors magit helm flycheck-rust eyebrowse exec-path-from-shell emojify elpy ein doom-themes dockerfile-mode docker csharp-mode ansible anaconda-mode ace-window))
'(znc-servers
(\`
(("bouncer.awful.club" 5000 t
((freenode "blindidiotgod/freenode"
(\, znc-password))
(OFTC "blindidiotgod/OFTC"
(\, znc-password))))))))
`(("bouncer.awful.club" 5000 t
((freenode "blindidiotgod/freenode" ,znc-password)
(OFTC "blindidiotgod/OFTC" ,znc-password))))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

@ -5,47 +5,47 @@
;; - uncomment if you want to only use emacs to input/manage the gpg key
;; - comment out if you want gpg to be handled through seahorse/gnome keyring.
(when (eq system-type 'darwin)
(setf epa-pinentry-mode 'loopback))
(use-package znc
:ensure t
:config
(progn
(custom-set-variables '(epg-gpg-program "/usr/local/bin/gpg"))
(setq auth-sources `("~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-secrets.gpg"))
(require 'epa)
;; handle annoying gpg shit.
(defun lookup-password (host user port)
"Lookup encrypted password given HOST, USER and PORT for service."
(require 'auth-source)
(funcall (plist-get
(car (auth-source-search
:host host
:user user
:type 'netrc
:port port))
:secret)))
(setq znc-password(lookup-password "bouncer.awful.club" "blindidiotgod/OFTC" 5000))
;; by default, erc alerts you on any activity. I only want to hear
;; about mentions of nick or keyword
(custom-set-variables
'(znc-servers
`(("bouncer.awful.club" 5000 t
((freenode "blindidiotgod/freenode" ,znc-password)
(OFTC "blindidiotgod/OFTC" ,znc-password))))))
(setq erc-current-nick-highlight-type 'all)
(setq erc-keywords '("security"))
(setq erc-track-exclude-types '("JOIN" "PART" "NICK" "MODE" "QUIT"))
(setq erc-track-use-faces t)
(setq erc-track-faces-priority-list
'(erc-current-nick-face erc-keyword-face))
(setq erc-track-priority-faces-only 'all)
(setq erc-hide-list '("PART" "QUIT" "JOIN"))
(setq erc-join-buffer 'bury)))
;; (when (eq system-type 'darwin)
;; (setf epa-pinentry-mode 'loopback))
;; (use-package znc
;; :ensure t
;; :config
;; (progn
;; (custom-set-variables '(epg-gpg-program "/usr/local/bin/gpg"))
;; (setq auth-sources `("~/Documents/projects/agares/applicationConfiguration/.emacs/jlj-secrets.gpg"))
;; (require 'epa)
;; ;; handle annoying gpg shit.
;; (defun lookup-password (host user port)
;; "Lookup encrypted password given HOST, USER and PORT for service."
;; (require 'auth-source)
;; (funcall (plist-get
;; (car (auth-source-search
;; :host host
;; :user user
;; :type 'netrc
;; :port port))
;; :secret)))
;; (setq znc-password(lookup-password "bouncer.awful.club" "blindidiotgod/OFTC" 5000))
;; ;; by default, erc alerts you on any activity. I only want to hear
;; ;; about mentions of nick or keyword
;; (custom-set-variables
;; '(znc-servers
;; `(("bouncer.awful.club" 5000 t
;; ((freenode "blindidiotgod/freenode" ,znc-password)
;; (OFTC "blindidiotgod/OFTC" ,znc-password))))))
;; (setq erc-current-nick-highlight-type 'all)
;; (setq erc-keywords '("security"))
;; (setq erc-track-exclude-types '("JOIN" "PART" "NICK" "MODE" "QUIT"))
;; (setq erc-track-use-faces t)
;; (setq erc-track-faces-priority-list
;; '(erc-current-nick-face erc-keyword-face))
;; (setq erc-track-priority-faces-only 'all)
;; (setq erc-hide-list '("PART" "QUIT" "JOIN"))
;; (setq erc-join-buffer 'bury)))
;; the only thing that isn't pretty much stock is

Loading…
Cancel
Save