ostree

Configuring SASL for Hexchat and IRSSI

Apr 5th, 2021 (edited)
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.97 KB | None | 0 0
  1. mkdir ~/.config/hexchat/certs
  2. cd ~/.config/hexchat/certs
  3. openssl req -x509 -new -newkey rsa:4096 -sha256 -days 1000 -nodes -out freenode.pem -keyout freenode.pem
  4. openssl x509 -in freenode.pem -outform der | sha1sum -b | cut -d' ' -f1
  5. echo "/msg NickServ CERT ADD $(openssl x509 -in freenode.pem -outform der | sha1sum -b | cut -d' ' -f1)"
  6.  
  7. freenodeok2gncmy.onion/6697
  8.  
  9. # Type the following into your shell which runs IRSSI...
  10. mkdir ~/.irssi/certs
  11. mv freenode.pem ~/.irssi/certs
  12. chown username:username -R ~/.irssi/certs
  13. chmod 600 ~/.irssi/certs/freenode.pem
  14.  
  15. # Type the following into IRC client window (IRSSI):
  16. /server add -auto -ssl -ssl_cert ~/.irssi/certs/freenode.pem -network freenode chat.freenode.net 6697
  17.  
  18.  
  19. References:
  20. https://wiki.znc.in/Tor
  21. https://freenode.net/news/tor-online
  22. https://freenode.net/news/resurrecting-tor
  23. https://freenode.net/kb/answer/certfp
  24. https://bbs.archlinux.org/viewtopic.php?id=210315
  25. https://github.com/freenode/web-7.0/issues/327
Add Comment
Please, Sign In to add comment