-
Notifications
You must be signed in to change notification settings - Fork 6
liberachat_certfp
NOTE: This document requires that
- you already have an account with NickServ on Libera Chat, see https://libera.chat/guides/registration
- and that you have added the Libera Chat network to Irssi, see Libera Chat
( Command taken from https://libera.chat/guides/certfp )
openssl req -x509 -new -newkey rsa:4096 -sha256 -days 1096 -nodes -out libera.pem -keyout libera.pem
Then copy it somewhere, e.g. your Irssi folder:
cp -i libera.pem ~/.irssi
First, you have to log in with Username & Password, register them in Irssi:
/network modify -sasl_mechanism PLAIN -sasl_username YOURUSERNAME -sasl_password YOURPASSWORD LiberaChat
Next, you have to register the TLS Certificate Key you created above to the Libera Chat server:
/server modify -tls_verify -tls_cert ~/.irssi/libera.pem irc.libera.chat 6697
Now, connect to Libera Chat ( with User & Pass )
/connect LiberaChat
After you are connected, register your Certificate Key with NickServ:
/msg NickServ CERT ADD
It will respond to you, if you did everything right:
-NickServ([email protected])- Added fingerprint XXXXXX to your fingerprint list.
Disconnect:
/disconnect
Clear the password and change to SASL EXTERNAL:
/network modify -sasl_password '' -sasl_mechanism EXTERNAL LiberaChat
Test it:
/connect LiberaChat
You can verify if you are logged in with Certificate Key by doing:
/whois YOURNICK
It will output:
-!- : has client certificate fingerprint xxxxxxx
Make sure to
/save
Much of the content on these pages is taken from original Irssi documentation and is Copyright © 2000-2010 The Irssi project. Formatting and additional documentation, examples, etc by Tom Feist and the other editors of this wiki. This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. Please see http://creativecommons.org/licenses/by-sa/2.5/ for details.