Skip to content

cmd/go: go get hangs when credential.helper cache is set #20604

Closed
@OneOfOne

Description

@OneOfOne

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

Go 1.8.3

What operating system and processor architecture are you using (go env)?

CentOS 7 / Debian 8 linux/amd64

What did you do?

$ git config --global credential.helper cache
$ go get -u github.com/private/private-repo
github.com/private/private-repo (download)
Username for 'https://github.com': OneOfOne
Password for 'https://[email protected]': 
^C

Trying to go get a private repo while git credential.helper is set to cache hangs after asking for the username/password.

What did you expect to see?

go get to finish downloading the repo and all its deps.

What did you see instead?

The void, it spoke to me in ways that can't be fully explained.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeGoCommandcmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions