[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tramp behaviour with ~/.authinfo.gpg; two queries
From: |
Pankaj Jangid |
Subject: |
Tramp behaviour with ~/.authinfo.gpg; two queries |
Date: |
Sat, 11 Jan 2020 11:03:23 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) |
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
- Tramp behaviour with ~/.authinfo.gpg; two queries,
Pankaj Jangid <=