#Proxy authentication for Go (GOPROXY)
1 messages · Page 1 of 1 (latest)
@novel tendon is working on holistically supporting auth for package managers - https://github.com/dagger/dagger/issues/10693 - CC @cerulean girder
@wicked bluff , is using GOPRIVATE an option for you? It works for me in my company
@clear acorn Thanks for your reply. We are using JFrog Artifactory so it's HTTPS based with authentication. As far as I understand GOPRIVATE is then not working. My findings are confirmed by this statement in the issue you shared:
Breaks when: Enterprise requires HTTPS+PAT, blocks SSH
We have a similar setup. If I don't set auth on GOPROXY but set GOPRIVATE, go uses git auth to pull directly from the internal repo. Our Arty proxy for Go is very new though, so it's possible things will change.
But that means you have the Go modules stored in a Git repo and not in a repository manager like Artifactory right?
unfortunately the only option for this to work today is to hardcode the user+password in the GOPROXY variable. We're working at this moment in a new auth spec that will fix this 🙏
Correct, like all go modules