From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#40820: 28.0.50; vc: vc-push requires ssh-askpass to enter key password Date: Thu, 22 Oct 2020 16:49:58 +0200 Message-ID: <87pn5ajox5.fsf@gnus.org> References: <87pnbxdkqw.fsf@posteo.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="34182"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 40820@debbugs.gnu.org To: Fredrik Nyqvist Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 22 16:55:24 2020 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 1kVbzw-0008jy-3b for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Oct 2020 16:55:24 +0200 Original-Received: from localhost ([::1]:48482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVbzv-0008F5-2B for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Oct 2020 10:55:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVbvi-00041w-VG for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 10:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVbvi-0006pm-Jh for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 10:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVbvi-0008Kx-H9 for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2020 10:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Oct 2020 14:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40820 X-GNU-PR-Package: emacs Original-Received: via spool by 40820-submit@debbugs.gnu.org id=B40820.160337821331901 (code B ref 40820); Thu, 22 Oct 2020 14:51:02 +0000 Original-Received: (at 40820) by debbugs.gnu.org; 22 Oct 2020 14:50:13 +0000 Original-Received: from localhost ([127.0.0.1]:53426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVbuu-0008IT-Nv for submit@debbugs.gnu.org; Thu, 22 Oct 2020 10:50:12 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:44476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVbus-0008Hv-6a for 40820@debbugs.gnu.org; Thu, 22 Oct 2020 10:50:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=C1V1qBxHkkWXZ+GE0BLqOoMYxhm2zl2hwJQgaZpw9UM=; b=SGwlHzKPxx4ynUzVNaN98YY6ZB yRQylGpYIJXSXgF1NywJFBuQihnZPGcCUa5wLMvi0bmKmx4nwQtq2wHKAERexScFQ3BzJOD53eGuO gRe7w1JObx275aOp2xNKWT2FZEZ0V3iY36uD0nYG1i0ri3qPqtNllw8QTPvt1noxQJ/s=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVbuh-0004v8-TX; Thu, 22 Oct 2020 16:50:03 +0200 X-Now-Playing: Cosey Fanni Tutti's _Tutti_: "Sophic Ripple" In-Reply-To: <87pnbxdkqw.fsf@posteo.net> (Fredrik Nyqvist's message of "Fri, 24 Apr 2020 16:24:55 +0200") 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:191280 Archived-At: Fredrik Nyqvist writes: > 0. To get the error message at step 6, make sure that ssh-askpass is > not installed on the system. > 1. Start Emacs emacs -Q > 2. Edit a version controlled file (in this case git is used) > 3. Do vc-next-action (C-x v v) > 4. Enter a commit message and then press: C-c C-c > 5. Try to push the file: C-x v P > 6. Emacs now tries to launch ssh-askpass to enter the password. An error > message will be shown if ssh-askpass is not installed on the system: > > ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory I don't think Emacs calls ssh-askpass directly -- it just leaves all that stuff up to the OS setup, I think? In any case, I was unable to reproduce this on Debian, presumably because there's a lot of passphrase caching going on. Without it I'm just getting: Running "git push"... git@github.com: Permission denied (publickey).^M fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. So do you have a more complete recipe for how to reproduce this bug? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no