magnumjec

configuring HexChat to connect to irc.libera.chat using tor-sasl

Apr 19th, 2019 (edited)
1,139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. This is not meant to be an exhaustive, step-by-step guide. Consult the HexChat documentation or request guidance in #hexchat
  2. on irc.libera.chat for more details about any specific part. If there are any glaring errors, please message me on libera
  3. (nick MetaNova) and I'll look into amending this.
  4.  
  5. There are 2 main parts to getting HexChat connected to libera using the tor-sasl onion service:
  6.  
  7. Part 1:
  8. - install HexChat
  9. - generate a client certificate ( https://hexchat.readthedocs.io/en/latest/tips.html#client-certificates ), use client.pem and
  10. not <networkname>.pem as HexChat will always try client.pem
  11. - place it in the appropriate directory ( https://hexchat.readthedocs.io/en/latest/settings.html#config-files )
  12. (this will result in, for example, %APPDATA%\HexChat\certs\client.pem or ~/.config/hexchat/certs/client.pem ; if certs doesn't
  13. exist, you will need to create it first, example: mkdir ~/.config/hexchat/certs)
  14. - connect to libera (good opportunity to verify you're using SSL)
  15. - register an account with nickserv ( /msg nickserv help register ) and verify it with the resulting email
  16. - verify that the client certificate is offered by the client and seen by the network (/whois yourself and look for a "has client
  17. certificate fingerprint <fingerprint>" line)
  18. - add the client certificate fingerprint to nickserv ( /msg nickserv cert add ), you should see "-NickServ- Added fingerprint
  19. <fingerprint> to your fingerprint list."
  20. - configure HexChat to use SASL EXTERNAL
  21.  
  22. Part 2:
  23. - install the tor daemon, verify that it's running in the background
  24. - configure HexChat to connect to the tor-sasl service on libera by
  25. - adding "MapAddress palladium.libera.chat libera75jm6of4wxpxt4aynol3xjmbtxgfyjpu34ss4d7r7q2v5zrpyd.onion" to your torrc file
  26. - configuring HexChat to connect to palladium.libera.chat/+6697
  27. ( https://libera.chat/guides/connect#accessing-liberachat-via-tor and https://libera.chat/guides/certfp#hexchat )
  28. - uncheck "Bypass proxy server", check "Use SSL for all servers on this network"
  29. - configure HexChat to use the tor daemon (Settings, Preferences, Network setup, Proxy Server, Hostname: 127.0.0.1, Port: 9050,
  30. Type: Socks5)
  31. - reconnect, verify connection to the tor-sasl onion service works
Add Comment
Please, Sign In to add comment