From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Opportunistic STARTTLS in smtpmail.el Date: Tue, 03 May 2011 03:01:40 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87d3kal0za.fsf@lifelogs.com> <874o5mky4o.fsf@lifelogs.com> <8762ptue8r.fsf@lifelogs.com> <87k4e8ucw3.fsf@lifelogs.com> <87liyofwxp.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304384522 7385 80.91.229.12 (3 May 2011 01:02:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 May 2011 01:02:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 03 03:01:58 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QH3zy-0006n2-5S for ged-emacs-devel@m.gmane.org; Tue, 03 May 2011 03:01:58 +0200 Original-Received: from localhost ([::1]:34095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH3zx-00082b-Fy for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 21:01:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH3zu-00082W-KQ for emacs-devel@gnu.org; Mon, 02 May 2011 21:01:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QH3zt-0007SI-AP for emacs-devel@gnu.org; Mon, 02 May 2011 21:01:54 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:59079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH3zs-0007S9-RV for emacs-devel@gnu.org; Mon, 02 May 2011 21:01:53 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QH3zr-0006lu-PL for emacs-devel@gnu.org; Tue, 03 May 2011 03:01:51 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 May 2011 03:01:51 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 May 2011 03:01:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEV4j5oRAwocDhc0Mzrf 4uipusPGzNUMAAMA4ztBAAACH0lEQVQ4jV2TPY7sIBCEkSxv/JoNJh1wsKkFV/ASOxg4gSF3xPVf VePZmV0kS1Z97r+ibXrv1phpNWYux7bV2lo78JgB9BxbarUQbK0CnDarPh+N6nUAZMlK5ktKeGom uLe8A+SWkqrUCc6PVEDmnFH8qRN8Ht9Ijnd0lRiRs4Lz35auz9r1or2IrEfSL+uoPToBsOtj2xiU C8aolz6Z8we0vI2yODFqBLphP5x8gEjg13IMAicIdjMF740sa6kKmHCkgu6NXdaP3J6kMYDAXaC9 ADpCgBBgsvICmQFCAJdqvkISUwXoAJ72FUw/Quo++Qusec+8IY1oCQC6U2AItOd0pIpMNwAPgFQw fqRqO0HHHJEAJmE3dMRRQsFWcwFImmuPwTuxCo6NV9YKXH58mxisZ4SP68xrmOdSCqaYIp3yAxwt 1ZJ/AWv8Eud2OVu0J2+tyIJ2o6FTuHV6PgUHmcB6uPjAOlR0xjvi2GKDOTEh1xa+cAeiE8E2L850 QQjWU6+IM9y45kGwcIIqujHaD3SQCGA9GtND3XU9n47gTR8BTwDRD+DkAtZhE5Eq+MWswFoaJXiD BDh3LMFkwhsYul+K7maQv8DP+ru9AdyJZ+E754vBvWowDztahyO93wD6iW0XZnLwEyCguGbriBCx jk7TmOmrX8cwnw1dztOCxK9+jhnxc2K9PBKrN2+pIMhNP2LjY8DOrui+ewEZXYn8B2ohEqQMoT6a AAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Rocket To The Sky's _Medea_: "Fourteen, Fifteen, Thirteen, Fourteen" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:mlVFUQmVBzm9m06wFGOEI1aGyhE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139026 Archived-At: Ted Zlatanov writes: > If you insist on avoiding this file check, we could have a "Lisp data" > backend in addition to the file and Secrets backends. That would be > pretty trivial to implement and would mirror the existing netrc parse > results structurally. I think the idea of putting this stuff in auth-source is good, but I'm just wondering whether we could have a meaningful separation of secret credentials (i.e., passwords and user names) and non-secret credentials (key files to be used, in this instance). I think putting stuff like key files into ~/.authinfo is fine. But if the user has a ~/.authinfo.gpg file (for IMAP use, for instance), and smtpmail wants to see whether a key file is to be used, there should be a way for smtpmail to get at this information without typing the .gpg password. I don't really see how that would work in any convenient way with our current interfaces. smtpmail really wants to say "check whether this exists, but don't try too hard", sort of. I think the previous discussion along these lines led us to the idea of having two files: ~/.authinfo for all the non-secret data, and ~/.authinfo.gpg for the passwords themselves. I don't think anybody really were much in favour of that split, since it meant duplicating data a lot. But I don't think anybody has really had a better idea, so perhaps we should just go with that idea, anyway. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/