From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#7632: 23.2.91; url-retrieve doesn't read authinfo.gpg file Date: Mon, 28 Dec 2015 17:12:04 -0500 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <87bn9a1avf.fsf@lifelogs.com> References: <87zksa5dir.fsf@tux.homenetwork> <87fuyqxjwg.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451340807 31784 80.91.229.3 (28 Dec 2015 22:13:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Dec 2015 22:13:27 +0000 (UTC) Cc: 7632@debbugs.gnu.org, Thierry Volpiatto To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 28 23:13:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aDg2U-0003N0-1e for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Dec 2015 23:13:14 +0100 Original-Received: from localhost ([::1]:46410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDg2T-0000iQ-Be for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Dec 2015 17:13:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDg2M-0000bx-5Z for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2015 17:13:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDg2I-0006u7-Gb for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2015 17:13:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDg2I-0006u3-Ce for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2015 17:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aDg2I-0002Hs-7C for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2015 17:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Dec 2015 22:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7632 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7632-submit@debbugs.gnu.org id=B7632.14513407398729 (code B ref 7632); Mon, 28 Dec 2015 22:13:02 +0000 Original-Received: (at 7632) by debbugs.gnu.org; 28 Dec 2015 22:12:19 +0000 Original-Received: from localhost ([127.0.0.1]:46866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDg1X-0002GW-LY for submit@debbugs.gnu.org; Mon, 28 Dec 2015 17:12:19 -0500 Original-Received: from mail-qg0-f48.google.com ([209.85.192.48]:35224) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDg1T-0002GG-2g for 7632@debbugs.gnu.org; Mon, 28 Dec 2015 17:12:14 -0500 Original-Received: by mail-qg0-f48.google.com with SMTP id o11so155188226qge.2 for <7632@debbugs.gnu.org>; Mon, 28 Dec 2015 14:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=9n3BP3yQ4HHxhwgvl4Ck6PM9Buuw4T2vzEuZb9nwsxs=; b=W/ZYfMOqShv9pVlUTIQWcrEYzLjempshvtj5+Vrxfy5VmfzgHB4BtLC0/4bE8fDEFI hdHHUN7IpEzyTUfYltgAjYNrJxHNDDCdZjsZK0DJaK+I6zNlFUCmfAbQLAJGnElkXCBM XAX8n3Ocv+ymiMHzQ1RWHbsurMgnSAZmw82JA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=9n3BP3yQ4HHxhwgvl4Ck6PM9Buuw4T2vzEuZb9nwsxs=; b=fe6LfY6henzvEZzl/YnTH9DYt2e4pREFEBPXmrUb/IOmyoIOzux2BIVFDjivH/E6A6 6dgmc2usqT/mOpMK1Yxryi28EAOidL7x7Fwo1nxaulLyRKlI6pwxguKl7veB4bZJEZ+j 6tcJLp+EBKVhd6yBfCbyyjnA7R8mn3TjMsslZyb0QL+AD3iLgHSS7djiJi1ado73Z0Yd 2QtQPZTtA9xd5tQWT437m688kB6lynLyrL6NmpKYtb6AzEA3/MH14qW7YR2WXUvx+yIB bn4pY6K1b9crl/gj6kbSN01z0myXW6ab4m3aLceGNik4WOqW1uXHf4PxGZAwF7chgEsi qqyg== X-Gm-Message-State: ALoCoQlWBj1xoegjqggJgURgRauB8epBNT+1nw4e6fpYY6bevR5m0rKmaSmeK5AgKXq4j5REoRbKxq3ffggbVU8HBeShUVLYYQ== X-Received: by 10.140.93.117 with SMTP id c108mr72582986qge.101.1451340725693; Mon, 28 Dec 2015 14:12:05 -0800 (PST) Original-Received: from flea ([98.229.60.157]) by smtp.gmail.com with ESMTPSA id 64sm27905501qhh.19.2015.12.28.14.12.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Dec 2015 14:12:05 -0800 (PST) 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 Gmane-Reply-To-List: yes In-Reply-To: <87fuyqxjwg.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 25 Dec 2015 23:06:55 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110933 Archived-At: On Fri, 25 Dec 2015 23:06:55 +0100 Lars Ingebrigtsen wrote: LI> Thierry Volpiatto writes: >> actually it seem url-retrieve doesn't read .authinfo.gpg file. >> I am always prompt for login/password. >> >> My entry in .authinfo is: >> machine mail.google.com port https login xx password xx >> I also tried:(without succes) >> machine mail.google.com:443 port https login xx password xx LI> I think this has probably been fixed now? Looking at the code, it seems LI> to use auth-source for all this, so it should get the .authinfo.gpg file LI> etc. LI> So I'm closing this bug report. If this still doesn't work, please LI> reopen. Sorry I missed this bug report. >From (info "(auth) Help for users"): For url-auth authentication (HTTP/HTTPS), you need to put this in your netrc file: machine yourmachine.com:80 port http login testuser password testpass This will match any realm and authentication method (basic or digest) over HTTP. HTTPS is set up similarly. If you want finer controls, explore the url-auth source code and variables. Thierry, this should work for you. If not, it would help if you set `auth-source-debug' to 'trivia and show the output in *Messages*. Ted