unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ERC do not use my password from authinfo
@ 2024-05-26  3:19 Sébastien Gendre
  2024-05-26  9:14 ` Zaichuan Du
  2024-05-26 20:17 ` J.P.
  0 siblings, 2 replies; 7+ messages in thread
From: Sébastien Gendre @ 2024-05-26  3:19 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

[-- Attachment #1: Type: text/plain, Size: 850 bytes --]

Hello,

I try to connect to an IRC server, with ERC, but I have a problem to make
it use my password saved in ~/.authinfo.



In my .emacs/init.el, I have defined this interactive function to
connect to Libera.chat with ERC:


(defun erc-mememememe@libera.chat ()
  "Log on freenode with mememememe user"
  (interactive)
  (erc-tls :server "irc.libera.chat"
           :port 6697
           :nick "mememememe")
  )


On my ~/.authinfo.gpg file, I have an entry for Libera.ch server, with
my nickname:


machine irc.libera.chat login mememememe password…


But when I run the function "erc-mememememe@libera.chat", ERC connect
without my password.

I didn't found any specific information on the manual about why. My
Emacs version is 29.3.

Someone have an idea ?



Best regards

-------
Gendre Sébastien

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-05-27  8:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-26  3:19 ERC do not use my password from authinfo Sébastien Gendre
2024-05-26  9:14 ` Zaichuan Du
2024-05-27  3:15   ` Sébastien Gendre
2024-05-27  8:04     ` Zaichuan Du
2024-05-26 20:17 ` J.P.
2024-05-27  3:21   ` Sébastien Gendre
2024-05-27  4:15     ` J.P.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).