Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Cannot install from GitHub source with 0.7.0 #176

Open
rrthomas opened this issue Jul 21, 2022 · 4 comments
Open

Cannot install from GitHub source with 0.7.0 #176

rrthomas opened this issue Jul 21, 2022 · 4 comments

Comments

@rrthomas
Copy link

Using zig master and gyro 0.7.0 release:

$ gyro add --src github Hejsil/clap
error: remote authentication required but no callback set

I don't understand why I'd need authentication; sorry if I've done something stupid!

@mattnite
Copy link
Owner

does your git config use ssh by default? I haven't gotten around to setting the callback for ssh, so that might be what's missing here

@rrthomas
Copy link
Author

Thanks for getting back to me! I don't think my git config uses ssh by default; I have the following for GitHub, to stop getting error messages for old checkouts now that GitHub stopped supporting plain git protocol:

[url "https://github.com/"]
        insteadOf = git://github.com/

Just to make sure I temporarily removed my ~/.gitconfig, but I get the same error.

@mattnite
Copy link
Owner

hmm okay that's very odd, I've got another gyro bug to work on this weekend so I'll take a look at this too

@voigt
Copy link

voigt commented Aug 9, 2022

I experience the exact same issue.

[url "[email protected]:"]
	insteadOf = https://github.com/

My ssh config:

Host github.com
  HostName github.com
  IdentityFile ~/.ssh/github_rsa
  IdentitiesOnly yes

I added the key to id_rsa as well... Just in case. Unfortunately, without a positive result.


edit: I was able to mitigate the issue by removing the lines entirely from my gitconfig:

[url "[email protected]:"]
	insteadOf = https://github.com/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants