GNU bug report logs -
#40820
28.0.50; vc: vc-push requires ssh-askpass to enter key password
Previous Next
Reported by: Fredrik Nyqvist <fredn <at> posteo.net>
Date: Fri, 24 Apr 2020 15:47:01 UTC
Severity: normal
Tags: moreinfo
Found in version 28.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40820 in the body.
You can then email your comments to 40820 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40820
; Package
emacs
.
(Fri, 24 Apr 2020 15:47:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Fredrik Nyqvist <fredn <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 24 Apr 2020 15:47:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Should ssh-askpass really be needed by vc? When pushing a commit from a
shell or eshell buffer it is possible to enter the password without the
use of ssh-askpass, instead the password is entered from the
minibuffer.
Can the same be used by VC?
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0)
of 2020-04-19 built on gnu
Repository revision: 65990f47ccd6f1a3558910d71701a6f029c35433
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)
Configured using:
'configure --with-gconf --with-xml2'
Configured features:
XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11 XDBE XIM MODULES THREADS PDUMPER GMP
Important settings:
value of $LANG: sv_SE.UTF-8
locale-coding-system: utf-8-unix
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40820
; Package
emacs
.
(Thu, 22 Oct 2020 14:51:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 40820 <at> debbugs.gnu.org (full text, mbox):
Fredrik Nyqvist <fredn <at> posteo.net> 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 <at> 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
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 22 Oct 2020 14:51:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40820
; Package
emacs
.
(Tue, 27 Oct 2020 20:27:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 40820 <at> debbugs.gnu.org (full text, mbox):
> 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 <at> 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?
OK, I see. I am also running Debian but I have not found out how the
system is setup to use ssh-askpass in my case. So unfortunately I do not
know how to show a complete recipie for this.
If the problem is because of how I have setup my system I think this
issue can be closed.
Thanks,
Fredrik
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40820
; Package
emacs
.
(Wed, 28 Oct 2020 09:23:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 40820 <at> debbugs.gnu.org (full text, mbox):
Fredrik Nyqvist <fredn <at> posteo.net> writes:
> If the problem is because of how I have setup my system I think this
> issue can be closed.
OK, sounds like it may be difficult to make progress here, so I'm
closing this bug report. If more progress can be made, please respond
to the debbugs address and we'll reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
40820 <at> debbugs.gnu.org and Fredrik Nyqvist <fredn <at> posteo.net>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 28 Oct 2020 09:24:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 25 Nov 2020 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 263 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.