git suddenly started putting up a dialog instead of asking for my password on the command line
Tommy Trussell
tommy.trussell at gmail.com
Fri Sep 25 01:29:39 UTC 2020
On Thu, Sep 24, 2020 at 7:52 AM Joel Rees <joel.rees at gmail.com> wrote:
> Does anyone know whether current (Ubuntu 18.04) versions of ssh, gnupg, or
> git
> have recently taken to putting up a modal dialog box for your
> authentication tokens
> when invoked by a git push from the command line?
>
> Or, as an option, whether one of the popular wallet apps (kwallet, et.
> al.) might
> be doing something to insert such a modal dialog into your chain of agents
> even when invoked by a git push on the command line?
>
As far as I know, nothing has changed recently to make this happen more.
I've only seen this a few times, luckily. I sometimes get the modal
password dialog on login when I use my laptop's fingerprint reader, and I
haven't tried to figure out how to fix it -- I just don't use the
fingerprint reader.
But it seems in general it's a GNOME thing. (Long discussions about it in
the bugs linked here.)
https://askubuntu.com/questions/1133198/disable-modal-dialog-to-insert-password
It took a bit more digging, but I found a possible solution. Look to see if
something has set the GIT_ASKPASS and/or SSH_ASKPASS environment variables,
and if so, try unset on them.
https://stackoverflow.com/questions/21422782/prevent-git-from-popping-up-gnome-password-box
Since this is stopping you with git, you might look to see if you have git
configured to use a credential.helper
git config -l
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20200924/d622f650/attachment.html>
More information about the ubuntu-users
mailing list