From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71940 Path: news.gmane.org!not-for-mail From: Drew Hess Newsgroups: gmane.emacs.gnus.general Subject: Re: Some issues with new nnimap Date: Sun, 26 Sep 2010 14:37:46 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1285537096 3598 80.91.229.12 (26 Sep 2010 21:38:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 21:38:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20313@lists.math.uh.edu Sun Sep 26 23:38:15 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 1OzyvG-0000ys-SN for ding-account@gmane.org; Sun, 26 Sep 2010 23:38:15 +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 1Ozyuy-0003g8-6b; Sun, 26 Sep 2010 16:37:56 -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 1Ozyuw-0003fx-Me for ding@lists.math.uh.edu; Sun, 26 Sep 2010 16:37:54 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ozyur-0007zF-LI for ding@lists.math.uh.edu; Sun, 26 Sep 2010 16:37:54 -0500 Original-Received: from mail-ew0-f44.google.com ([209.85.215.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ozyuq-000610-00 for ; Sun, 26 Sep 2010 23:37:48 +0200 Original-Received: by ewy26 with SMTP id 26so1646207ewy.17 for ; Sun, 26 Sep 2010 14:37:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Fqx4uK6TieHlohOsTkOfMzgGU2pFLV9ueEEBcdFHmD4=; b=Z5298yL/a+/11QSFKqot6Xg/LPUrPU5iCDpQTyVcCKckmI1fHA7a1ME6yhZpDdAP+E sq3/uWnxyjaNsDM2APB1ejCZwYXGa/azvw4dFdFFsIxFEqsSZiT0DpG3DR2qutyBuMsI Ru3yGPeBECfbcCY8CTJbGT5Q5Fz4/63P6t3Dk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=iJWlZNjq7DgmLq2k3bj4Q8rf1mZF8lKbKLRlPUPy63sllCC6YUUK6N6yB/QV8erE8W uU6gQOBFm49r2UVaf35Z7KJheccLLh/GtQjOU3vyqEa6EuvW0E9TVP+woMQRrtnxEyg2 q5YQy/a+M6LnCc47lziWzIrtI+VJljU/YC1GA= Original-Received: by 10.213.89.205 with SMTP id f13mr2370379ebm.52.1285537066438; Sun, 26 Sep 2010 14:37:46 -0700 (PDT) Original-Received: by 10.14.37.13 with HTTP; Sun, 26 Sep 2010 14:37:46 -0700 (PDT) In-Reply-To: X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71940 Archived-At: On Sun, Sep 26, 2010 at 2:00 PM, Drew Hess wrote: > On Sun, Sep 26, 2010 at 5:50 AM, Lars Magne Ingebrigtsen = wrote: >> Lars Magne Ingebrigtsen writes: >> >>> Ok, I see the problem. =C2=A0If the auth sources don't exist (i.e., no >>> ~/.authinfo), auth-sources.el won't prompt for user name/password at >>> all. =C2=A0I'll fix that. >> >> I've now done this for the ~/.authinfo and ~/.authinfo.gpg cases, but >> I'm not sure how the Secret Service API is supposed to work, so I'll >> leave that bit to Ted. =C2=A0:-) >> >> Looking at the code, it only seems to store the (queried-for) password, >> and not the user name? =C2=A0That can't be right... >> >> So now there's two saving things in auth-source-create -- one in the >> loop in the passwd branch, and one at the end after both the user name >> and passwords have been collected. =C2=A0That should be fixed. > > Thanks! I can now login without a .authinfo file. There is, however, still one problem. In older versions of Gnus, if auth failed (e.g., bad password), Gnus would prompt for credentials again, but now it doesn't, so if you mistype your password, you're simply denied access to the IMAP server without another chance to authenticate. d