emacs-erc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

erc and TLS setup


From: Giorgos Keramidas
Subject: erc and TLS setup
Date: Mon, 16 Mar 2020 11:58:39 -0700

Hi everyone,

I have been using rcirc for a while now, with the following setup:

(defun rcirc-connect-work ()
  "Connect directly to work's internal IRC network."
  (interactive)
  (rcirc-connect "irc.internal.net" 6443
                 "gkeramidas" "gkeramidas"
                 "Georgios Keramidas"
                 '("#channel1" "#channel2" "#channel3")
                 "0123-4567-89ab-cdef" 'tls))


Where "gkeramidas" is my nick-name, and also my TLS user name, and "0123-4567-89ab-cdef" is my password TLS authentication.

When I try to connect with ERC though I get this failure:

[Mon Mar 16 2020]
Opening connection..                                                    [11:21]
-irc.internal.net- *** Looking up your hostname...
-irc.internal.net- *** Couldn't look up your hostname
*** Password incorrect
==> ERROR from irc.internal.net: Closing Link: [my:own:ipv6:address]
    (PAM authentication failed)


Connection failed!  Re-establishing connection...

If I enable protocol debugging, I see this:

nil >> PASS 7c30-3601-bc70-52c2^M
nil >> NICK gkeramidas^M
nil >> USER user 0 * :unknown^M
nil << :irc.internal.net NOTICE AUTH :*** Looking up your hostname...
nil << :irc.internal.net NOTICE AUTH :*** Couldn't look up your hostname
nil << :irc.internal.net 464 gkeramidas :Password Incorrect
nil << ERROR :Closing Link: [my:own:ipv6:address] (PAM authentication failed)


It looks like TLS username is "user" here, and erc-tls has no :keyword arg to set it.

How can I define which TLS user name to use?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]