ngircd: Add optional SSL / TLS support
authorW. Trevor King <wking@tremily.us>
Sat, 1 Mar 2014 00:45:19 +0000 (16:45 -0800)
committerW. Trevor King <wking@tremily.us>
Sat, 1 Mar 2014 00:45:19 +0000 (16:45 -0800)
commitf225594ffd0c3e2c893e84b682c4de981474ea92
tree638eef7ed7053a1de60f497e2beeedaed99f8d41
parent710291e38961d4ebb7afac8e04fd13b4572cfd89
ngircd: Add optional SSL / TLS support

Unfortunately, irssi doesn't have a command-line flag to select
encrypted connections [1].  I'd like something like:

  $ irssi -c irc.example.net -p 6697 --ssl

Until something like that is added, you'll need to add the server to
your irssi config:

  $ cat ~/.irssi/config
  ...
  servers = (
    {
      address = "irc.example.net";
      chatnet = "example";
      port = "6697";
      use_ssl = "yes";
      ssl_verify = "yes";
      autoconnect = "yes";
    },
    ...
  );
  chatnets = {
    example = {
      type = "IRC";
      nick = "your-nick";
    };
    ...
  };
  ...

Or connect manually after firing up irssi:

  $ irssi --noconnect
  [(status)] /connect -ssl -ssl_verify nott 6697

Run `/help connect` for more information.

[1]: http://www.irssi.org/documentation/manual
ngircd/README.md
ngircd/setup-ngircd-config-from-environment.sh