From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71303 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Releasing the new nnimap on y'all soon Date: Tue, 21 Sep 2010 12:08:18 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87bp7r6n3x.fsf@lifelogs.com> References: <87eics12mh.fsf@mid.gehheimdienst.de> <87bp7v8t7c.fsf@lifelogs.com> <87wrqjv8eb.fsf@dod.no> <87bp7t6t8d.fsf@lifelogs.com> <87ocbsfirl.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285089020 5339 80.91.229.12 (21 Sep 2010 17:10:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2010 17:10:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19676@lists.math.uh.edu Tue Sep 21 19:10:17 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oy6MD-0007sE-Gs for ding-account@gmane.org; Tue, 21 Sep 2010 19:10:17 +0200 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 1Oy6M8-0002So-Sk; Tue, 21 Sep 2010 12:10:12 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Oy6M7-0002Sa-98 for ding@lists.math.uh.edu; Tue, 21 Sep 2010 12:10:11 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Oy6M3-0004gt-1g for ding@lists.math.uh.edu; Tue, 21 Sep 2010 12:10:11 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Oy6M2-0007wS-00 for ; Tue, 21 Sep 2010 19:10:06 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oy6M0-0007mO-DE for ding@gnus.org; Tue, 21 Sep 2010 19:10:04 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Sep 2010 19:10:04 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Sep 2010 19:10:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 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" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:JFtctgmharENIwEjeL0vFrdScyM= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71303 Archived-At: On Tue, 21 Sep 2010 18:06:53 +0200 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> `auth-source-create' already does this. It's invoked when the >> CREATE-IF-MISSING parameter to `auth-source-user-or-password' is set. >> There's also a DELETE-EXISTING parameter there. LMI> CREATE-IF-MISSING is being passed to the thing, but it doesn't save LMI> anything for me. It only creates if your sources include the Secrets API. See `auth-source-create'. >> So `auth-source-create' needs to be augmented to support netrc saves, I >> think, to provide the requested features. It's not hard so I'll get to >> it eventually unless someone beats me to it. LMI> Even though a netrc file exists, shouldn't it save new passwords to the LMI> .gpg file? No, it will save to whatever is in the spec. So if the spec says 'secrets then it saves to Secrets API (this is working thanks to help from Michael Albinus). If the spec says "filename" it saves to the file, encrypted or not (this is not written). It works on one auth-sources spec at a time since only the first matching entry is consulted, so it doesn't know if there are other specs. It also doesn't know if the file is encrypted or not--like I said I tried to keep auth-source.el separate from the encryption/decryption layer. Ted