GNU bug report logs - #55555
28.1; Tramp prompting for password even with an existing .authinfo.gpg file

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thievol <at> posteo.net>

Date: Sat, 21 May 2022 07:35:02 UTC

Severity: normal

Tags: notabug

Found in version 28.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Thierry Volpiatto <thievol <at> posteo.net>
Cc: 55555 <at> debbugs.gnu.org
Subject: bug#55555: 28.1; Tramp prompting for password even with an existing .authinfo.gpg file
Date: Sun, 22 May 2022 10:05:41 +0200
Thierry Volpiatto <thievol <at> posteo.net> 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.




This bug report was last modified 3 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.