all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tramp behaviour with ~/.authinfo.gpg; two queries
@ 2020-01-11 11:03 Pankaj Jangid
  2020-01-11 11:32 ` Colin Baxter
  2020-01-11 16:28 ` Michael Albinus
  0 siblings, 2 replies; 8+ messages in thread
From: Pankaj Jangid @ 2020-01-11 11:03 UTC (permalink / raw)
  To: Emacs mailing list

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-01-13 16:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-11 11:03 Tramp behaviour with ~/.authinfo.gpg; two queries Pankaj Jangid
2020-01-11 11:32 ` Colin Baxter
2020-01-11 13:37   ` Pankaj Jangid
2020-01-11 14:14     ` Colin Baxter
2020-01-11 16:28 ` Michael Albinus
2020-01-13 10:10   ` Pankaj Jangid
2020-01-13 10:39     ` Pankaj Jangid
2020-01-13 16:26     ` Michael Albinus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.