aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-28 10:07:10 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-28 10:07:10 +0000
commitc2517b411e5f2255259574b1b26124ec3956c60b (patch)
tree4a1adae8f8e7ee8af4e06c010e378940af8d29a1
parenthad to make some changes due to enable rfp to make pdfs readable again. (diff)
downloadscripts-c2517b411e5f2255259574b1b26124ec3956c60b.tar.gz
scripts-c2517b411e5f2255259574b1b26124ec3956c60b.zip
added cert-fp authentication for libera as well
-rw-r--r--irssi/config48
1 files changed, 23 insertions, 25 deletions
diff --git a/irssi/config b/irssi/config
index 89cec1c..541aecf 100644
--- a/irssi/config
+++ b/irssi/config
@@ -1,4 +1,6 @@
# vim: filetype=perl
+# https://libera.chat/guides/certfp
+# https://www.oftc.net/NickServ/CertFP/
servers = (
{
address = "irc.gitter.im";
@@ -19,13 +21,6 @@ servers = (
autoconnect = "yes";
},
{
- address = "irc.libera.chat";
- chatnet = "libera";
- autoconnect = "yes";
- use_tls = "yes";
- tls_verify = "yes";
- },
- {
address = "irc.oftc.net";
chatnet = "OFTC";
port = "6697";
@@ -39,17 +34,19 @@ servers = (
port = "6667";
chatnet = "bitlbee";
autoconnect = "yes";
+ },
+ {
+ address = "irc.libera.chat";
+ chatnet = "LiberaChat";
+ port = "6697";
+ use_tls = "yes";
+ tls_cert = "~/.irssi/certs/nick.pem";
+ tls_verify = "yes";
+ autoconnect = "yes";
}
);
chatnets = {
- libera = {
- type = "IRC";
- nick = "terminaldweller";
- sasl_mechanism = "PLAIN";
- sasl_username = "terminaldweller";
- sasl_password = "";
- };
OFTC = {
type = "IRC";
max_kicks = "1";
@@ -61,25 +58,26 @@ chatnets = {
"app.slack.com" = { type = "IRC"; nick = "terminaldweller"; };
"FRRouting.slack.com" = { type = "IRC"; };
bitlbee = { type = "IRC"; };
+ LiberaChat = { type = "IRC"; sasl_mechanism = "EXTERNAL"; };
};
channels = (
- { name = "#dpdk"; chatnet = "libera"; autojoin = "yes"; },
- { name = "#fdio-vpp"; chatnet = "libera"; autojoin = "yes"; },
- { name = "#openssl"; chatnet = "libera"; autojoin = "yes"; },
+ { name = "#dpdk"; chatnet = "LiberaChat"; autojoin = "yes"; },
+ { name = "#fdio-vpp"; chatnet = "LiberaChat"; autojoin = "yes"; },
+ { name = "#openssl"; chatnet = "LiberaChat"; autojoin = "yes"; },
{ name = "#qemu"; chatnet = "OFTC"; autojoin = "yes"; },
{ name = "#debian"; chatnet = "OFTC"; autojoin = "yes"; },
{ name = "#virt"; chatnet = "OFTC"; autojoin = "yes"; },
{ name = "#openwrt"; chatnet = "OFTC"; autojoin = "yes"; },
{ name = "#tor"; chatnet = "OFTC"; autojoin = "yes"; },
- { name = "#openssh"; chatnet = "libera"; autojoin = "yes"; },
- { name = "#gdb"; chatnet = "libera"; autojoin = "yes"; },
- { name = "#openbsd"; chatnet = "libera"; autojoin = "yes"; },
- { name = "#voidlinux"; chatnet = "libera"; autojoin = "yes"; },
- { name = "#freebsd"; chatnet = "libera"; autojoin = "yes"; },
- { name = "#linux"; chatnet = "libera"; autojoin = "yes"; },
- { name = "#irssi"; chatnet = "libera"; autojoin = "yes"; },
- { name = "#kvm"; chatnet = "libera"; autojoin = "yes"; }
+ { name = "#openssh"; chatnet = "LiberaChat"; autojoin = "yes"; },
+ { name = "#gdb"; chatnet = "LiberaChat"; autojoin = "yes"; },
+ { name = "#openbsd"; chatnet = "LiberaChat"; autojoin = "yes"; },
+ { name = "#voidlinux"; chatnet = "LiberaChat"; autojoin = "yes"; },
+ { name = "#freebsd"; chatnet = "LiberaChat"; autojoin = "yes"; },
+ { name = "#linux"; chatnet = "LiberaChat"; autojoin = "yes"; },
+ { name = "#irssi"; chatnet = "LiberaChat"; autojoin = "yes"; },
+ { name = "#kvm"; chatnet = "LiberaChat"; autojoin = "yes"; }
);
aliases = {