From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#49714: 28.0.50; TRAMP burns CPU and has insufficient user reporting when using xxxx-sk SSH keys Date: Mon, 16 Aug 2021 21:50:40 +0200 Message-ID: <87im05419r.fsf@gmx.de> References: <87o8asu1mg.fsf@jpl.nasa.gov> <87eebnmqty.fsf@gmx.de> <87lf5vqya5.fsf@secretsauce.net> <87o8aqwp1v.fsf@gmx.de> <874kciqfuv.fsf@secretsauce.net> <87bl6puql6.fsf@gmx.de> <87h7ggpb4k.fsf@secretsauce.net> <87pmv4td2v.fsf@gmx.de> <8735s0p260.fsf@secretsauce.net> <87lf5st3b2.fsf@gmx.de> <87tukfobxa.fsf@secretsauce.net> <878s1rttfc.fsf@gmx.de> <87czr3o497.fsf@secretsauce.net> <874kcftol2.fsf@gmx.de> <87a6m7nzv0.fsf@secretsauce.net> <87zgu6sy7r.fsf@gmx.de> <87k0lamcql.fsf@secretsauce.net> <875ywmp9lw.fsf@gmx.de> <87eeb4a3xv.fsf@secretsauce.net> <87v94grp9q.fsf@gmx.de> <875yw9b1c1.fsf@secretsauce.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8766"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 49714@debbugs.gnu.org To: Dima Kogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 16 21:51:19 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFidf-0001sS-KG for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Aug 2021 21:51:15 +0200 Original-Received: from localhost ([::1]:57256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFide-0000WQ-E7 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Aug 2021 15:51:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFidS-0000WB-4Q for bug-gnu-emacs@gnu.org; Mon, 16 Aug 2021 15:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFidR-0003Mm-UB for bug-gnu-emacs@gnu.org; Mon, 16 Aug 2021 15:51:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFidR-0005Ma-SN for bug-gnu-emacs@gnu.org; Mon, 16 Aug 2021 15:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Aug 2021 19:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49714 X-GNU-PR-Package: emacs Original-Received: via spool by 49714-submit@debbugs.gnu.org id=B49714.162914345520602 (code B ref 49714); Mon, 16 Aug 2021 19:51:01 +0000 Original-Received: (at 49714) by debbugs.gnu.org; 16 Aug 2021 19:50:55 +0000 Original-Received: from localhost ([127.0.0.1]:51071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFidK-0005MD-U9 for submit@debbugs.gnu.org; Mon, 16 Aug 2021 15:50:55 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:44197) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFidI-0005Lv-QR for 49714@debbugs.gnu.org; Mon, 16 Aug 2021 15:50:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1629143442; bh=/kaAALNMld0r9JeiuMGgWo2c1sfXxUyQAlcqUJG/Fh8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Q82aL8JZpRwlDlQi6u5dY7j9fhY3bLN09Zg7n2bpfdL9FnCSGfI+KyynObA59bs7W BXhpozpcVqptzFzrK4MGQ6NdTLgjywCpvWw6K3qd9eF1kZA8aGAjSO2qGRHLMuECxG bR4CBkg54pbvOASkx1Pa3MVWLvV1kC+kaF/JyaHo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([217.70.140.1]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWzk3-1mZmci43dR-00XMd3; Mon, 16 Aug 2021 21:50:42 +0200 In-Reply-To: <875yw9b1c1.fsf@secretsauce.net> (Dima Kogan's message of "Fri, 13 Aug 2021 12:18:22 -0700") X-Provags-ID: V03:K1:bkmqgNP3q4fEfR1CsV192FSEkkUpV8fBSL13dgx9OkHOH8N7BBV O5EjaciUsl7fkjbvaUeMv4WkvyrcZcAhG0n1Vz4/u+KuZ9m8ViBffXOQKk8qTJ1wUmwdJcK NRxiGTGHRClk0jUeIymqZv0LZT8QZpwqP7eFQ4N56jSSbjWjCQtXEORnrToK1LJbTCtvD9a u9v9DRgVZKhkwi3Tf1Pxw== X-UI-Out-Filterresults: notjunk:1;V03:K0:y60U5va1JFg=:+Y8u9inMO1DDgZ/9TLoxLM gKISfQgup8iixf+qlRfwL6IfBiNbaDmkibmcC+byrRio3hlNlb/purtQILReP9RYMraxg/3m9 TyPIcyQQ1Vm6AdpEu3gQq7NUZ8UH5BX5tcuvtt15GI4mqZCAp94QrBmg1oL8xJiUJQW7BVhDj OZO5kzihrqFvoTu9+PLB9GdLgWjCKQA1rWFtHfcwXfMTLOVzYib+rOv7LpzGVN7ezfmGOxRbR S9SYmUF7NXafs3RtOPTxPnKHvWGgut7CQ7U6DPY5OhmmTAQhzx05fuaniRa5l6rj0o7tK0+iS QL3pw2RoEDDyc2ZcMM/3TNhUYWGySYtOdwZ95wG2NEWYGy4+9CejD9UryhldeVCKAy15CunWG wtO/tQZ8Qac449iuFSk2b3X2qlKE5TmmElARtd4jnqn16LDUmGlAa3QinmWcCXuxRt7CAGIH5 viKEvG3mBTbC/PNt1ljs3lOE+76zIK2ZDPbZ54R3AsjO0ogpj5zo3MTpebRIIK6b054089qzP 36Sy9VRipRbdSGe6N8kQeXoXU+g+PueGx5imzNQS2Hw8EmcBpIEdHCWi81aT3MuNR771gFC6I cTRleav7KdWCiJy0ZZ8jENR9AlIljU1l4crJ3JvJtKSWdyz0u2+jGKDh4pFck3H+SthgYb/LP R2uoAoPWCTgDRmUJxGmjSnHhoq7wOATDKEjqrYTajeoZFUCuO7Ob05lvriys1tnGd/AxObzoc KVKGR4eMnHfDfOdk+AfbEEoTxAsfz1ILc11bh90yLOoJnQckDg/tdDZc89ufzkA5tGHefMLO X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212063 Archived-At: Dima Kogan writes: > Hi Michael. Hi Dima, > I just updated my emacs to a recent-enough build that has > all the fixes: 0b049fe71d7 from 2021/08/06. I see the issue I described > earlier. Specific steps: I'm following your tests. > 1. emacs -Q '/ssh:whatever:' > > 2. emacs asks for the passphrase. I enter it > > 3. emacs says "Confirm user presence..." in the minibuffer > > I can touch the yubikey, and emacs completes the sequence. While it's > waiting for the yubikey to be touched, emacs is frozen. The toolbar is > rendered, but the modeline and scroll bars are not. The point is not > rendered. If I switch to another window, and switch back, the toolbar is > redrawn, but nothing else is. Most notably, the "Confirm use > presence..." text in the minibuffer is not redrawn. But that's expected. Emacs *is* frozen, it waits for you to touch the yubikey. Alternatively, you can cancel this operation with C-g, or you can wait 30 seconds for the timeout. While Tramp is waiting to complete the connection, you cannot do anything with Emacs. What else do you expect to do? > I can follow slightly different steps: > > 1. emacs -Q > > 2. C-x C-f /ssh:whatever: > > 3. emacs asks for the passphrase. I enter it > > If I do this instead, emacs freezes right away, and I don't ever see the > prompt in the minibuffer at all. Again, it's not "frozen", since > touching the yubikey works properly, but the UI indication is missing. I see the prompt in the minibuffer. It is the message after your file name /ssh:whatever: , which is placed in square brackets [ and ]. > You don't see this? I can send you screenshots, if you mind. Honestly, I don't see anything wrong. > Thanks! Best regards, Michael.