From e5b2e5356f78e70fbb3dbfdb2abff17bb84efc2d Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 9 Aug 2021 14:45:43 +0200 Subject: [PATCH] Fix last commit of tramp.el --- lisp/net/tramp.el | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 21757465fad..3a392dd5f8a 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -697,11 +697,19 @@ The regexp should match at end of buffer." :version "27.1" :type 'regexp) -;; Yubikey requires the user physically to touch the device with their -;; finger. We must tell it to the user. -(defcustom tramp-yubikey-regexp +;; A security key requires the user physically to touch the device +;; with their finger. We must tell it to the user. +;; Added in OpenSSH 8.2. I've tested it with yubikey. +(defcustom tramp-security-key-confirm-regexp "^\r*Confirm user presence for key .*[\r\n]*" - "Regular expression matching yubikey confirmation message. + "Regular expression matching security key confirmation message. +The regexp should match at end of buffer." + :version "28.1" + :type 'regexp) + +(defcustom tramp-security-key-confirmed-regexp + "^\r*User presence confirmed[\r\n]*" + "Regular expression matching security key confirmation message. The regexp should match at end of buffer." :version "28.1" :type 'regexp) -- 2.39.5