FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.43k stars 636 forks source link

ungit keeps asking authorization on all remotes #1083

Open alexandre1985 opened 6 years ago

alexandre1985 commented 6 years ago

I can't use ungit because when I run ungit it keeps on asking for passwords on all remotes that I have.

  1. It should ask only on the remote that I specified.
  2. After I put the password it keeps on asking for a password again and again.
  3. With my ssh remote there should be a way to insert my key passphrase through ungit

After the incessant passwords asks that it gives me and ungit not being satisfied I refuse to put a my password and then it gives me the error that it can't run the comand:

-c color.ui=false -c core.quotepath=false -c core.pager=cat -c credential.helper=/home/daniel/n/lib/node_modules/ungit/bin/credentials-helper 0 8448 http ls-remote --tags http

jung-kim commented 6 years ago

Security is a though problem. Ungit doesn't cache or store any credentials or passwords and does not directly authentication, all it does is relay given authentication un and pw to git. This is to ensure that Ungit to never be a source of security risk and we would have to never worry about storing credentials.

There are couple of options.

let me know if this helps.

wonson commented 6 years ago

@jung-kim This works, thx.

But its quite frustrating that we need to enable git config credential.helper cache, when we enter password in real time using GUI

Can ungit auto enable it if ungit need to use it? e.g. git config credential.helper 'cache --timeout=' ?

cgvirus commented 3 years ago

Rather then giving GUI pop ups, I think it would be much more convenient to have a whole terminal instance at bottom like VSCODE/atom. In this way all things will be visible in a single app. Storing pass is dangerous.