From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73586 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: auth-source tokens (was: nnimap-username) Date: Mon, 25 Oct 2010 13:09:33 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87fwvu5ele.fsf_-_@lifelogs.com> References: <87d3qylr29.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288030200 27932 80.91.229.12 (25 Oct 2010 18:10:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2010 18:10:00 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21955@lists.math.uh.edu Mon Oct 25 20:09:59 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 1PARUc-0003wX-KB for ding-account@gmane.org; Mon, 25 Oct 2010 20:09:59 +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 1PARUS-0007Y5-KZ; Mon, 25 Oct 2010 13:09:48 -0500 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 1PARUQ-0007Xp-Vh for ding@lists.math.uh.edu; Mon, 25 Oct 2010 13:09:46 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PARUP-000674-DQ for ding@lists.math.uh.edu; Mon, 25 Oct 2010 13:09:46 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PARUO-00067P-00 for ; Mon, 25 Oct 2010 20:09:44 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PARUK-0003mv-OH for ding@gnus.org; Mon, 25 Oct 2010 20:09:40 +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 ; Mon, 25 Oct 2010 20:09:40 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Oct 2010 20:09:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 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:jLlBhzmEGWfES/E+m6nEIV16kFs= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73586 Archived-At: On Mon, 25 Oct 2010 16:13:11 +0900 Daiki Ueno wrote: DU> Reiner Steib writes: >>> The current nnimap/auth-source combo does not seem to support multiple >>> IMAP accounts on the same host/port. >> >> I'm not sure about the current implementation, but this used to work >> for me: DU> Aha, thanks for the information. It works for me. DU> However, the current implementation automatically creates(?) DU> ~/.authinfo.gpg, it might good to setup this easily without editing DU> ~/.authinfo.gpg by hand. DU> Anyway I think this specific setting is worth being documented in DU> gnus*.texi or auth.texi, or is it already there? I am working on an auth-source rewrite that will address this common problem. Sorry for the delay, it's been in the works for a while. The VM guys (Uday Reddy specifically) need this functionality as well. The new design will work a lot more like the Secrets API: it will be search-based and always return a list of matching tokens with properties. I'll provide a compatibility layer to fit with the old auth-source API, mark the old API deprecated, and will try to ensure that nothing will break during the transition to the new API. Ted