From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81341 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: auth-source for new users (was: Gnus startup problems?) Date: Mon, 13 Feb 2012 12:11:21 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87sjie4q12.fsf_-_@lifelogs.com> References: <877gzv4oat.fsf@gnus.org> <87mx8rwqpv.fsf@gmail.com> <87obt7s6uc.fsf@gnus.org> <877gzvumng.fsf@gmail.com> <87y5san1wo.fsf@gnus.org> Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329153132 18460 80.91.229.3 (13 Feb 2012 17:12:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2012 17:12:12 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29621@lists.math.uh.edu Mon Feb 13 18:12:11 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RwzRc-0002fa-8h for ding-account@gmane.org; Mon, 13 Feb 2012 18:12:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RwzRV-0003e5-3G; Mon, 13 Feb 2012 11:11:57 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RwzRU-0003dv-0g for ding@lists.math.uh.edu; Mon, 13 Feb 2012 11:11:56 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RwzRP-00084x-Pr for ding@lists.math.uh.edu; Mon, 13 Feb 2012 11:11:55 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RwzRO-0003dy-2c for ding@gnus.org; Mon, 13 Feb 2012 18:11:50 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RwzRJ-0002In-Sh for ding@gnus.org; Mon, 13 Feb 2012 18:11:45 +0100 Original-Received: from c-76-28-40-19.hsd1.vt.comcast.net ([76.28.40.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Feb 2012 18:11:45 +0100 Original-Received: from tzz by c-76-28-40-19.hsd1.vt.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Feb 2012 18:11:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-76-28-40-19.hsd1.vt.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:Hg/bh5sX1nH5V0eizxtgC5SMOZw= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81341 Archived-At: On Fri, 10 Feb 2012 16:28:23 +0100 Lars Ingebrigtsen wrote: LI> Antoine Levitt writes: >> It did - in authinfo. I answered "n" in order not to mess up my config, >> and it prompted me for the password again when I opened a >> folder. Presumably it could have saved it in memory, even if I didn't >> write it in authinfo. LI> Yes, it probably should have. Ted? (to anyone interested, we're talking about new users with no auth-source setup, not those who have already set up an authinfo file as suggested by the auth-source docs) We're discussing this in an emacs bug thread. I'm not sure what's the right solution here. There's valid scenarios for: 1) keeping the username+password in memory only (easy to implement!) 2) saving them to a keychain immediately 3) saving them to a netrc/authinfo file immediately 4) saving all credentials to a netrc/authinfo file later, keeping them in memory now I favor (4) but Stefan Monnier likes (2) and keychains in general, and there seems to be no consensus on what's best. So any opinions are welcome. Ted