-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: support git remote helpers when running go get? #20865
Comments
Why not just use |
Because under the assumption that if an attacker can man-in-the-middle your connection to localhost, they are on your computer and can modify other (presumably safe) connections as well, leaving it no more insecure than HTTPS connections. Also, it is really annoying having to type -insecure if you know that it isn't. |
Sorry, this doesn't seem worth the effort. If you're pointing at localhost, you have the code already and there's no need to I'm going to close this, but maybe you're not telling us the whole story (http://xyproblem.info/) and we can reopen if we hear more. |
Alright. Personally, I'm using ssb, which is a decentralized database running both a social network and something like github (might be down atm). Someone pushes to a repository in the decentralized database by publishing a signed message containing the new HEAD and the git packfile of all new git objects (or something along the lines). As an alternative, it would be great if |
I'll retitle this bug, then. |
thank you! |
I'll fix the bug text to reflect the new goal |
Please don't. I'd rather you file a new bug.
…On Fri, Jun 30, 2017 at 2:44 PM keks ***@***.***> wrote:
I'll fix the bug text to reflect the new goal
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#20865 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAKPe7j9Iei4h9D4Htga_HSGfilvO3gks5sJWw6gaJpZM4OKqws>
.
|
Oh, uhm, sorry. I thought this is the way to go since you already retitled the issue. Looks like I can't undo it. |
I don't think we're going to put a special case for ssb or http://localhost in, sorry. This is too niche and conflicts too much with the main logic. |
What version of Go are you using (
go version
)?go version go1.8 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
go get example.com/go/mypkg
Where example.com/go/mypkg is a vanity url that points to a git repo with an
ssb://
url.What did you expect to see?
go
should use locally installed git remote helpers (i.e. look forgit-remote-ssb
in$PATH
). It should fetch the source using that helper and (hopefully) build.What did you see instead?
An error that transport "ssb" is not supported.
Note:
I initially petitioned for accepting git http clones from localhost without
-insecure
, so early comments reply to this idea.The text was updated successfully, but these errors were encountered: