aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorMichael Albinus2024-02-09 11:21:05 +0100
committerMichael Albinus2024-02-09 11:21:05 +0100
commit8d6a8e573f9a1e4eb9ebbc0ec244907263e61bb8 (patch)
treeb34dde37aba1575a39e0c56974edfcfeaf3c14ea /doc/misc
parent8d09e1def55e57a8c627ba704289f796c48a085d (diff)
downloademacs-8d6a8e573f9a1e4eb9ebbc0ec244907263e61bb8.tar.gz
emacs-8d6a8e573f9a1e4eb9ebbc0ec244907263e61bb8.zip
Tramp: Handle PIN requests from security keys
* doc/misc/tramp.texi (Frequently Asked Questions): Clarify FIDO entry. * lisp/net/tramp-sh.el (tramp-actions-before-shell) (tramp-actions-copy-out-of-band): Use `tramp-security-key-pin-regexp'. * lisp/net/tramp.el (tramp-security-key-pin-regexp): New defcustom. (tramp-action-otp-password, tramp-read-passwd): Trim password prompt. (tramp-action-show-and-confirm-message): Expand for PIN requests.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/tramp.texi11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 56945d3071c..90824024c03 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -5238,9 +5238,14 @@ Does @value{tramp} support @acronym{SSH} security keys?
5238Yes. @command{OpenSSH} has added support for @acronym{FIDO} hardware 5238Yes. @command{OpenSSH} has added support for @acronym{FIDO} hardware
5239devices via special key types @option{*-sk}. @value{tramp} supports 5239devices via special key types @option{*-sk}. @value{tramp} supports
5240the additional handshaking messages for them. This requires at least 5240the additional handshaking messages for them. This requires at least
5241@command{OpenSSH} 8.2, and a @acronym{FIDO} @acronym{U2F} compatible 5241@command{OpenSSH} 8.2, and a @acronym{FIDO} @acronym{U2F} or
5242security key, like yubikey, solokey, nitrokey, or titankey. 5242@acronym{FIDO2} compatible security key, like yubikey, solokey,
5243 5243nitrokey, or titankey.
5244@c @uref{https://docs.fedoraproject.org/en-US/quick-docs/using-yubikeys/}
5245
5246@strong{Note} that there are reports on problems of handling yubikey
5247residential keys by @command{ssh-agent}. As workaround, you might
5248disable @command{ssh-agent} for such keys.
5244 5249
5245@item 5250@item
5246@value{tramp} does not connect to Samba or MS Windows hosts running 5251@value{tramp} does not connect to Samba or MS Windows hosts running