[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp behaviour with ~/.authinfo.gpg; two queries
From: |
Michael Albinus |
Subject: |
Re: Tramp behaviour with ~/.authinfo.gpg; two queries |
Date: |
Mon, 13 Jan 2020 17:26:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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.