git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG REPORT: git clone of non-existent repository results in request for credentials
@ 2018-11-11  9:22 Federico Lucifredi
  2018-11-11 14:00 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 3+ messages in thread
From: Federico Lucifredi @ 2018-11-11  9:22 UTC (permalink / raw)
  To: git

git clone of non-existent repository results in request for credentials

REPRODUCING:
sudo apt install git
git clone https://github.com/xorbit/LiFePo4owered-Pi.git    #this repo does not exist

Git will then prompt for username and password on Github.

I can see a valid data-leak concern (one could probe for private repository names in a brute-force fashion), but then again the UX impact is appalling. Chances of someone typing an invalid repo name are pretty high, and this error message has nothing to do with the actual error.

RESOLUTION:
The error message should indicate that the repository name does not exist. 


Best -F



_________________________________________
-- "'Problem' is a bleak word for challenge" - Richard Fish
(Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-11 18:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-11  9:22 BUG REPORT: git clone of non-existent repository results in request for credentials Federico Lucifredi
2018-11-11 14:00 ` Ævar Arnfjörð Bjarmason
2018-11-11 18:00   ` Federico Lucifredi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).