Lars Magne Ingebrigtsen writes: > XeCycle writes: > >> Hello, I'm bothered by the behaviour that Gnus always asks me to >> decrypt my .authinfo.gpg, though none of the servers need >> authentication. > > Yes, nntp.el needs to look into the .authinfo.gpg file to see whether > the server you're connecting to has a "force" parameter in the > .authinfo.gpg file. From (gnus) NNTP: --8<---------------cut here---------------start------------->8--- `nntp-authinfo-function' This function will be used to send `AUTHINFO' to the NNTP server. The default function is `nntp-send-authinfo', which looks through your `~/.authinfo' (or whatever you've set the `nntp-authinfo-file' variable to) for applicable entries. --8<---------------cut here---------------end--------------->8--- I tried setting this function to no-op, but the default one is still used. And I tried setting nntp-authinfo-file, it still looks for ~/.authinfo. These behaviours are inconsistent with the manual, so I believe these are bugs. > I would suggest setting up a GPG agent or just leaving the .authinfo > file unencrypted. I already use that. But on first system start, it still asks for password; and my timeout is quite short (~10 min), so if I killed Emacs and start it again sometime, Gnus will be asking that again. The point is, *none* of the servers need authentication; I do understand the need to look for `force', but please enable me to inhibit this. Thank you. -- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591