Re: [Feature Request] Fingerprint prompting for tramp

Michael Albinus <[email protected]> Sun, 24 Nov 2024 20:16:48 +0100
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
N Winkel <[email protected]> writes:

> Hi Michael,

Hi Neri,

[Please keep [email protected] in Cc:, for the archives.]

> I've attached the logs generated, for both `tramp-use-fingerprint` set
> to "t" and "nil", though it doesn't seem to have changed anything (I
> did the same thing as with `tramp-verbose` - used added a setq
> argument to my config.el)

I've shortly scanned the logfiles. None of them contains a line like

--8<---------------cut here---------------start------------->8---
20:10:03.555224 tramp-process-one-action (5) # Looking for regexp "\(\(?:Place your \(?:\(?:finger o\(?:n the reader agai\)?\|\(?:left \(?:index finger\|little finger\|middle finger\|ring finger\|thumb\)\|right \(?:index finger\|little finger\|middle finger\|ring finger\|thumb\)\) o\)n\)\|Remove your finger, and try swiping your finger again\|Swipe \(?:was too short, try again\|your \(?:finger a\(?:cross\|gain\)\|\(?:left \(?:index finger\|little finger\|middle finger\|ring finger\|thumb\)\|right \(?:index finger\|little finger\|middle finger\|ring finger\|thumb\)\) across\)\)\|Your finger was not centred, try swiping your finger again\).*\)\'" from remote shell
--8<---------------cut here---------------end--------------->8---

Are you sure you have applied the patch on both tramp.el and
tramp-sh.el? Have you recompiled the files? Are you sure, the proper
files have been loaded, adter starting a new Tramp session?

Likely, you've missed the compilation. In my logfile, there is the line

--8<---------------cut here---------------start------------->8---
;; Location: /home/albinus/src/tramp-2-7-stable/lisp/tramp.elc Git: branch-2-7-stable/cae7f63df19c2fadaa8d27beeff6e0c015c620ce
--8<---------------cut here---------------end--------------->8---

Note the "tramp.elc". In your logfile, there is

--8<---------------cut here---------------start------------->8---
;; Location: /home/winkel/.config/emacs/.local/straight/build-29.4/tramp/tramp.el Git: master/9c8cfaadde1ccc96a780d713d2a096f0440b9483
--8<---------------cut here---------------end--------------->8---

Note the "tramp.el"

> Best regards, Neri

Best regards, Michael.