Re: [http] Git error messages reveal password encoded in the URL
- From
Jacob Helwig <jacob.helwig@gmail.com>
- Date
- Jul 19, 2010, 21:05 UTC
- Message-ID
- <AANLkTikP3eNVs34ZcB9gHqV60-aqexfCPgcyBWSGn_Y7@mail.gmail.com>
- In-Reply-To
- <m3aapnmbid.fsf@localhost.localdomain>
On Mon, Jul 19, 2010 at 14:02, Jakub Narebski <jnareb@gmail.com> wrote:
Show 8 quoted lines
> Ketan Padegaonkar <ketanpadegaonkar@gmail.com> writes: > >> We use http to serve our git repos, in order for git to not ask me a >> username/password everytime, > > Errr... WTF? Can't you configure SSH (use ssh-add, perhaps together with > tool such as keychain) to use public key based authentication? >
I don't think SSH/ssh-agent/pubkey would actually help, given that it's a https URL. Unless I'm missing something here?
Show 5 quoted lines
>> I've put the following in my .git/config: >> >> [remote "origin"] >> url = https://user:pass@host/repo.git >>