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."
(rcirc-connect "irc.internal.net" 6443
'("#channel1" "#channel2" "#channel3")
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?