From 42afc39eeb7616d04cb0ef448f43ceeaf5fdbdd8 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 18 Apr 2021 22:22:39 -0400 Subject: [PATCH 1/1] * .emacs.d/lisp/bandali-erc.el: Look up certs from authinfo file --- .emacs.d/lisp/bandali-erc.el | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.emacs.d/lisp/bandali-erc.el b/.emacs.d/lisp/bandali-erc.el index 3527a65..803ba91 100644 --- a/.emacs.d/lisp/bandali-erc.el +++ b/.emacs.d/lisp/bandali-erc.el @@ -151,22 +151,19 @@ (lambda () (interactive) (erc-tls :server "chat.freenode.net" :port 6697 - :client-key (b/var "erc/certs/bandali-freenode.key") - :client-crt (b/var "erc/certs/bandali-freenode.crt")))) + :client-certificate t))) (global-set-key (kbd "C-c a e o") (lambda () (interactive) (erc-tls :server "irc.oftc.net" :port 6697 - :client-key (b/var "erc/certs/bandali-oftc.key") - :client-crt (b/var "erc/certs/bandali-oftc.crt")))) + :client-certificate t))) (global-set-key (kbd "C-c a e t") (lambda () (interactive) (erc-tls :server "na.tilde.chat" :port 6697 - :client-key (b/var "erc/certs/bandali-tildechat.key") - :client-crt (b/var "erc/certs/bandali-tildechat.crt")))) + :client-certificate t))) (provide 'bandali-erc) ;;; bandali-erc.el ends here -- 2.20.1