From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.help Subject: Tramp behaviour with ~/.authinfo.gpg; two queries Date: Sat, 11 Jan 2020 11:03:23 +0000 Organization: J4D Network Message-ID: <0100016f9445d858-a7113286-e808-4a19-8903-83b850c082f2-000000@email.amazonses.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="170956"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) To: Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 11 12:04:35 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iqEYU-000Xnc-PF for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Jan 2020 12:03:46 +0100 Original-Received: from localhost ([::1]:56610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqEYT-0004wQ-MI for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Jan 2020 06:03:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42245) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <0100016f9445d858-a7113286-e808-4a19-8903-83b850c082f2-000000@amazonses.com>) id 1iqEY9-0004w7-LK for help-gnu-emacs@gnu.org; Sat, 11 Jan 2020 06:03:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <0100016f9445d858-a7113286-e808-4a19-8903-83b850c082f2-000000@amazonses.com>) id 1iqEY8-0007bx-IK for help-gnu-emacs@gnu.org; Sat, 11 Jan 2020 06:03:25 -0500 Original-Received: from a48-105.smtp-out.amazonses.com ([54.240.48.105]:54860) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <0100016f9445d858-a7113286-e808-4a19-8903-83b850c082f2-000000@amazonses.com>) id 1iqEY8-0007Z9-55 for help-gnu-emacs@gnu.org; Sat, 11 Jan 2020 06:03:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=2i3gzvbgh3d3bo7yfqpvb5eru2hqctky; d=j4d.net; t=1578740603; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=8lybzPDACjd6kahX41WQgIHehm90cuOcdEwlMv/Lp6M=; b=sulSvLqXqKVyIjqAttyjmXYqcttX0kSVLF6KL6YS3ebVKInrr4D+xTO8DHLwOBHA qgpQoSNwm8ED3cCDLLqWsYAjp0OR33DQ/itUkGXtVC51etEkhYPYPaxavK4QM7Qk6ye 5ySdg0/0l4NPZ9QLQ/A9iZLI3cN5qeKznF49+QeM= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1578740603; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Feedback-ID; bh=8lybzPDACjd6kahX41WQgIHehm90cuOcdEwlMv/Lp6M=; b=GUxtJBphHTdyLpfmahWUtEQOShsM1MZxKupN25Aec1PIIc08ejNEmJHnf9/6A9s9 KM1Uu+CFxzF6VXA88xRkXrLFd3LLWITr09VmMrK6QAzs5sc6oulsYhqJ4aWFTFK3CPd W4p1KST9KR1tezkdDYjoyUqQpN6FCfIKQ18cklYY= X-SES-Outgoing: 2020.01.11-54.240.48.105 Feedback-ID: 1.us-east-1.txOs6RzEvQ8hCXYeLqJ8lVjB3e7LuQl8h6pdq90PbRQ=:AmazonSES X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 54.240.48.105 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:122200 Archived-At: Two observations on Tramp. I need help in getting around. * Observation one In a fresh instance of Emacs (27.0.60), if I try to open a remote ssh file, Tramp tries to load ~/.authinfo.gpg and asks for passphrase. This is okay. But the problem is this - as I start typing "/ssh:.." the passphrase prompt also come at the same input area. And when I start typing passphrase characters it starts switching back and forth between "Find file:" and "Passphrase:" prompts. I have (setq epg-pinentry-mode 'loopback) in my config. As a workaround, I cancel the operation. And then I start Gnus (or some other package that can load ~/.authinfo.gpg). Enter passphrase. And then open the desired remote file. Is there a proper way to handle this? * Second observation When I open a remote ssh file and connect to the server for the first time, Tramp offers to save the password in ~/.authinfo even if the file ~/.authinfo.gpg exists and is already loaded (by some other package like Gnus). How can I tell Tramp to save passwords in ~/.authinfo.gpg? Regards -- Pankaj Jangid