Subject: Re: bug#55555: 28.1; Tramp prompting for password even with an existing .authinfo.gpg file

From: Michael Albinus <[email-masked]>
Date: Sun, 22 May 2022 10:05:41 +0200

Thierry Volpiatto <[email-masked]> writes:

> Hi Michael,

Hi Thierry,

>> And the Tramp manual says
>>
>>    For the methods ‘doas’, ‘sudo’ and ‘sudoedit’ the password of the
>> user requesting the connection is needed, and not the password of the
>> target user.  If these connections happen on the local host, an entry
>> with the local user and local host is used:
>>
>>      machine HOST port sudo login USER password secret
>
> Is this compatible with previous emacs versions (at least 28)?
>
> I use
>
>     default port sudo login root password xxxxx
>
> since years now so I was surprized this stopped working suddently.

It isn't compatible. But for a while, using both Rmacs 29 and Emacs <29,
you could keep both entries in .authinfo.gpg.

> Thanks.

Best regards, Michael.