]> git.eshelyaron.com Git - emacs.git/commit
Support fingerprint readers in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 26 Nov 2024 11:45:06 +0000 (12:45 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 27 Nov 2024 19:55:49 +0000 (20:55 +0100)
commit45fc23704c8373d4b8458394aab7e1fbc3846d15
treec3fa25e5937f2d671a888ba2966419a822647d1a
parent7dde2dee043cb81f7963d86edd59f76420b605b1
Support fingerprint readers in Tramp

* doc/misc/tramp.texi (Frequently Asked Questions): Speak about
fingerprint readers.

* lisp/net/tramp-sh.el (tramp-actions-before-shell):
Use `tramp-fingerprint-prompt-regexp'.

* lisp/net/tramp.el (tramp-wrong-passwd-regexp): Add fingerprint
messages.
(tramp-fingerprint-prompt-regexp, tramp-use-fingerprint):
New defcustoms.
(tramp-action-fingerprint, tramp-action-show-message): New defuns.
(tramp-action-show-and-confirm-message): Start check at (point-min).

* test/lisp/net/tramp-tests.el (tramp-test47-read-fingerprint):
New test.

(cherry picked from commit 3fe787ad4d5894df5b540dbd195128118c949c7c)
doc/misc/tramp.texi
lisp/net/tramp-sh.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el