From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#33146: .authinfo.gpg not automatically loaded when using (dired) on macOS Date: Thu, 08 Nov 2018 12:56:28 +0100 Message-ID: <87ftwbn5oz.fsf@gmx.de> References: <079d093d-f277-5601-fe15-f49cd41f247c@cvj.se> <875zxqjve1.fsf@gmx.de> <84d64b74-9746-3c2f-45bf-2c5f202bee22@cvj.se> <87muqxyp2s.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1541678199 5914 195.159.176.226 (8 Nov 2018 11:56:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2018 11:56:39 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33146@debbugs.gnu.org To: Christian Johansson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 08 12:56:34 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKivJ-0001Ps-4G for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2018 12:56:33 +0100 Original-Received: from localhost ([::1]:56156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKixP-0004wQ-GY for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2018 06:58:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKivt-0003pO-Dm for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 06:57:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKivo-0001OV-Q2 for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 06:57:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36101) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKivm-0001NP-It for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 06:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gKivm-00077B-Ep for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2018 06:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Nov 2018 11:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33146 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33146-submit@debbugs.gnu.org id=B33146.154167819927316 (code B ref 33146); Thu, 08 Nov 2018 11:57:02 +0000 Original-Received: (at 33146) by debbugs.gnu.org; 8 Nov 2018 11:56:39 +0000 Original-Received: from localhost ([127.0.0.1]:40359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKivO-00076W-Qc for submit@debbugs.gnu.org; Thu, 08 Nov 2018 06:56:39 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:46907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKivM-00076J-Qp for 33146@debbugs.gnu.org; Thu, 08 Nov 2018 06:56:37 -0500 Original-Received: from detlef.gmx.de ([79.140.117.112]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LwqwS-1fRvPB2exU-016Pl1; Thu, 08 Nov 2018 12:56:29 +0100 In-Reply-To: <87muqxyp2s.fsf@gmx.de> (Michael Albinus's message of "Mon, 29 Oct 2018 12:22:51 +0100") X-Provags-ID: V03:K1:N4uEiCZLsVLjM7grLnonrRFhSI5viR/xvBnf2nmnq6WLwcRl1Jp qgkdfXIgaKpGEOztKh9SBrvo1TfP316o4ceyx94N57n/o3xDV17xiXEJwdzWrNS8ZNIHYYF eqnlMfHg+VRcplEE60SizHDnuM8Bb70eaa6jZwtDbKcXceBHAFjkG0JiYilt3BPfpDSQdQW Uw9fQ9ng4j7t3nERJYDZQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:GDTP0ggt/bs=:kybP5alYxgJb2NV2G9Pjud M6HUUz4fZ7vFJB9IUFnVmE1KW0NPFfDEE0juQtNNldkPC9c8KRfCXOrhsl9CIDTtE1497tN4q HBjC/LT1/Y5AYp3m8rVGXNhU4LeoMWIe2XdmLoTKWTvZJeRN8/0NkuC2j1r0pMiQWklR9YPC4 GQOQTNNH/9VfBwQyAdCkeYL73dfV04KthRSYn3J1hE1kzHf66V+KiizT3lT1SkqysIOv6Xmvd jj1P1wVUXfo4IwM8OynWFY6pEKNdkLUlaNLlREZwGbEwtZhBq7cdsdtppNLpdG1uhAumQnXbM kpW0KOXLKqC0tPnAz7MsZ0sv/UlPVwdSaMnduShbzzEtWzvjHVOl2/jYBv1QKFvAdAuohp0xa xO6s8qy9YS5lOjTWZRKque4GbolKsMFRVZbyJbXpeqmqOww3qwTh/ntdGMl1gy6Ewp43J7NDr z4ofY5+ysWLxfzcUZUWe4vQ/d8lFsyOFuYCLhmITdKOk2AUrgTMMLkJdxhX8z2OMvVsH/hYYe kukx03FodHGP56RwzUbWpECiuzJXnjRv9F2PHuGjMwpRNEZhhQylOA5S982fLyyPplaUY/JbD JkBSciB0fl7qhljGidflDkEhPlNoWDAVLU0IEI89mzgNXLlKm5AQI6TD9ivPs76Du1ETFKqyt iwmvE5R0u1TPla0DRwvOBc14/GAP1+gDOkrGodZk/YmvtF5b4KHZJDX0w8fZz6pt2c5N8YnqW Qbieyf1ZtMtEP9Ws74pqwoDUB3vT4Xu6EmAHWAM9EobIsjq24i8pCFIQMgJpE4Elh1wVyVFQ 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" Xref: news.gmane.org gmane.emacs.bugs:152156 Archived-At: Michael Albinus writes: Hi Christian, >> Alright, that worked. Would it be possible to make ange-ftp.el >> automatically aware of .authinfo files? >> I think that would improve user experience a lot. > > Finally, it means that ange-ftp.el uses auth-source.el. Anything goes, > but somebody must implement it. And auth-source.el has its own > interpretation of the "port" element in .netrc/.authinfo lines, which is > kind of incompatible. > > I'll mark this bug report as wishlist. If nobody beats me I'll could do > it, but it will take time (too many other open requests). And for the > time being, you'll be able to apply the workaround. I have checked ange-ftp.el, and it does much more with the netrc file than auth-sources.el. For example, it handles also the "account" token. Therefore I have decided not to touch this. Instead, I have added the following text to the Tramp manual, section "5.12.1 Using an authentication file": --8<---------------cut here---------------start------------->8--- *Note* that =E2=80=98auth-source.el=E2=80=99 is not used for =E2=80=98ft= p=E2=80=99 connections, because TRAMP passes the work to Ange FTP. If you want, for example, use your =E2=80=98~/.authinfo.gpg=E2=80=99 authentication file, you must cu= stomize =E2=80=98ange-ftp-netrc-filename=E2=80=99: (customize-set-variable 'ange-ftp-netrc-filename "~/.authinfo.gpg") --8<---------------cut here---------------end--------------->8--- If you agree, I would close this bug. >> Regards >> Christian Best regards, Michael.