- How to configure server settings in weechat
- How to configure identity (SASL) in weechat
- Resources and More
How to configure server settings in weechat
add server
/server add freenode chat.freenode.net/6697 -ssl
enable autoconnect
/set irc.server.freenode.autoconnect on
auto-join channels on connection to server
/set irc.server.freenode.autojoin "#channel1,#channel2,#channel3
change default nicks
/set irc.server_default.nicks comma,separated,list,of,nicks
How to configure identity (SASL) in weechat
- generate key
openssl ecparam -genkey -name prime256v1 -out ~/.weechat/ecdsa.pem
- get the public key encoded as base64
openssl ec -noout -text -conv_form compressed -in ~/.weechat/ecdsa.pem | grep '^pub:' -A 3 | tail -n 3 | tr -d ' \n:' | xxd -r -p | base64
- connect to the server and identify yourself
/connect freenode
/msg nickserv identify <password>
- set the pubkey
`/msg nickserv set pubkey - configure the SASL options in the server
/set irc.server.freenode.sasl_mechanism ecdsa-nist256p-challenge
/set irc.server.freenode.sasl_username "your_nickname"
/set irc.server.freenode.sasl_key "%h/ecdsa.pem"
- reconnect to the server and verify the server automatically identifies you
/reconnect freenode
- Above was my old method, now I use a dedicated rpi as a irc bouncer with znc server running 24/7.
- below is how to connect from a weechat client to the znc server:
# How to add and connect to a ZNC server /server add server server/6697 -username=username/network -password=password /connect server /save