summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2021-04-18 22:22:39 -0400
committerAmin Bandali <bandali@gnu.org>2021-04-18 22:22:39 -0400
commit42afc39eeb7616d04cb0ef448f43ceeaf5fdbdd8 (patch)
treef0fa6d3587c8450a30e4bab82bdc2c44cb9f2754
parent672d7b8ef6c3dc2685a847f5aaeb47c415f39902 (diff)
downloadconfigs-42afc39eeb7616d04cb0ef448f43ceeaf5fdbdd8.tar.gz
configs-42afc39eeb7616d04cb0ef448f43ceeaf5fdbdd8.tar.xz
configs-42afc39eeb7616d04cb0ef448f43ceeaf5fdbdd8.zip
* .emacs.d/lisp/bandali-erc.el: Look up certs from authinfo file
-rw-r--r--.emacs.d/lisp/bandali-erc.el9
1 files 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