* ssh_askpass on 'vc-update'
@ 2021-03-22 16:38 Gabriel
2021-03-22 18:40 ` T.V Raman
0 siblings, 1 reply; 3+ messages in thread
From: Gabriel @ 2021-03-22 16:38 UTC (permalink / raw
To: emacs-devel
I have some git repositories setup with SSH-key access. When I run
'vc-update', it asks my password with "ssh_askpass", but since
'vc-update' runs in Compilation mode, it gets stuck. The 'compile'
commands accepts an argument to run in comint-mode, which can grab the
user password, but currently the 'vc-update' cannot run in
comint-mode. Probably other vc related commands may have this same
issue, but since 'vc-update' is the first thing I run, it's the only
issue I've found so far.
Is there any way to make 'vc-update' grab the user password for cases
like this one ? Is 'vc-update' lacking this feature ?
Looking forward for feedbacks on this matter.
Rergards,
Gabriel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ssh_askpass on 'vc-update'
2021-03-22 16:38 ssh_askpass on 'vc-update' Gabriel
@ 2021-03-22 18:40 ` T.V Raman
2021-03-22 23:25 ` Gabriel
0 siblings, 1 reply; 3+ messages in thread
From: T.V Raman @ 2021-03-22 18:40 UTC (permalink / raw
To: Gabriel; +Cc: emacs-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 892 bytes --]
Gabriel <gabriel376@hotmail.com> writes:
perhaps use pinentry and loopback so that gpg handles this?
> I have some git repositories setup with SSH-key access. When I run
> 'vc-update', it asks my password with "ssh_askpass", but since
> 'vc-update' runs in Compilation mode, it gets stuck. The 'compile'
> commands accepts an argument to run in comint-mode, which can grab the
> user password, but currently the 'vc-update' cannot run in
> comint-mode. Probably other vc related commands may have this same
> issue, but since 'vc-update' is the first thing I run, it's the only
> issue I've found so far.
>
> Is there any way to make 'vc-update' grab the user password for cases
> like this one ? Is 'vc-update' lacking this feature ?
>
> Looking forward for feedbacks on this matter.
> Rergards,
> Gabriel
>
--
Thanks,
--Raman
7©4 Id: kg:/m/0285kf1 0Ü8
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ssh_askpass on 'vc-update'
2021-03-22 18:40 ` T.V Raman
@ 2021-03-22 23:25 ` Gabriel
0 siblings, 0 replies; 3+ messages in thread
From: Gabriel @ 2021-03-22 23:25 UTC (permalink / raw
To: emacs-devel
> perhaps use pinentry and loopback so that gpg handles this?
Yep, I know there are some options to avoid getting a password prompt,
but I would like to know, from the Emacs development perspective, what's
the expected behavior of 'vc-update' and related command when it asks
for a password (or an interactive prompt, which is the same).
I guess it's a missing feature that we could add it, to behave in a
similar fashion to 'compile' command when running in 'comint-mode'. I
don't see a reason for 'vc-update' to not handle interactive prompts
when it's a wrapper on the top of 'compile'. I know that I could achieve
the same result by running 'git pull' on 'eshell', 'shell' or 'compile',
but if so, what's the point to have the vc commands ?!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-22 23:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-22 16:38 ssh_askpass on 'vc-update' Gabriel
2021-03-22 18:40 ` T.V Raman
2021-03-22 23:25 ` Gabriel
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.