From: Michael Albinus <michael.albinus@gmx.de>
To: Pankaj Jangid <p4j@j4d.net>
Cc: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Tramp behaviour with ~/.authinfo.gpg; two queries
Date: Mon, 13 Jan 2020 17:26:33 +0100 [thread overview]
Message-ID: <87v9pfuxty.fsf@gmx.de> (raw)
In-Reply-To: <0100016f9e622ba7-1326bbd8-6e70-4afe-87e1-deb114322570-000000@email.amazonses.com> (Pankaj Jangid's message of "Mon, 13 Jan 2020 10:10:31 +0000")
Pankaj Jangid <p4j@j4d.net> writes:
Hi,
>>> 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?
>>
>> No idea. I'll try to reproduce.
>
> Michael, did you get any chance to reproduce this issue. Although, this
> is not a serious issue at my end because this is just one time thing
> because the password is saved in ~/.authinfo[.gpg]. But this could be
> annoying for new users.
I cannot reproduce it. In my case, the passphrase is asked in an own
window (not from Emacs), so there is no overlapping with the minibuffer.
Since I don't know epa/epg, you might teach me how I could reproduce
your behaviour.
>> However, this seems to be a bug in auth-source.el, so you might write a
>> bug report.
>
> I have submitted a bug report for this.
Thanks.
> Regards
Best regards, Michael.
prev parent reply other threads:[~2020-01-13 16:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9pfuxty.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=help-gnu-emacs@gnu.org \
--cc=p4j@j4d.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.