bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#74105: 30.0.92; Some issues in TRAMP NEWS entries


From: Michael Albinus
Subject: bug#74105: 30.0.92; Some issues in TRAMP NEWS entries
Date: Thu, 07 Nov 2024 09:23:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Sean Whitton <spwhitton@spwhitton.name> writes:

> Hello,

Hi Sean,

>> Hmm. Does it mean you have set auth-sources to nil?
>
> No, I haven't done any particular setup, I just don't (intentionally)
> use any password-saving features in Emacs.
>
>> There is a possible error indeed in tramp-read-passwd for this
>> case. Could you, please, apply the appended patch?
>
> Just to confirm, do you still want me to do this even though I don't set
> auth-sources to nil?

No, not needed for you. But since this case is missing in
tramp-read-passwd, I'll apply this patch anyway.

auth-sources has the initial value '("~/.authinfo" "~/.authinfo.gpg" "~/.netrc")
Do you own one of these files?

>> I have no idea where the changed behavior you've described comes from.
>
> Okay -- I'll investigate further, including from 'emacs -q'.

It might be helpful to step through tramp-read-passwd with the debugger.

Another idea: if auth-sources doesn't cooperate due to lack of useful
data, Tramp uses password-cache.el as fallback. password-cache-expiry
has the default value of 16 seconds. Could this explain what you see?

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]