Variable: tramp-security-key-pin-regexp

tramp-security-key-pin-regexp is a customizable variable defined in tramp.el.gz.

Value

"^
*\\(Enter PIN for .*\\)[\n
]*"

Documentation

Regular expression matching security key PIN prompt.

The regexp should match at end of buffer.

This variable was added, or its default value changed, in Emacs 29.3.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;; Needed only for FIDO2 (residential) keys.  Tested with Nitrokey and Yubikey.
(defcustom tramp-security-key-pin-regexp
  (rx bol (* "\r") (group "Enter PIN for " (* nonl)) (* (any "\r\n")))
  "Regular expression matching security key PIN prompt.
The regexp should match at end of buffer."
  :version "29.3"
  :type 'regexp)