-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
libgit2 and ssh keys - regression in 0.5.0-rc0 compared to 0.4.0 #17768
Comments
actually does not hang, requests user input for each and every repo. |
keys are cached during Pkg.update, or can be set using environment variables. For any other usage, I'd recommend starting an ssh agent. |
This is very different behavior from previously. I don't have to do this with regular git commands. Makes the system much less friendly. |
How is your regular git accessing ssh credentials? |
It looks like #17691 changed credentials caching mechanism. |
@Keno that's a good question and one that I would have to do some research on, but basically with a standard install on ubuntu you simply don't have to worry. This was never an issue with 0.4 or with any other git client. |
Can you see if |
no that does not list the key - by default it is just using ~/.shh/id_rsa.pub |
Sure, but the key appears to be encrypted? Is it not? |
no the key is not encrypted |
Ah, maybe that commit did not make it into rc0, can you try rc1? |
Worse :( Pkg.init( ... ) to a local fork of METADATA hosted internally ERROR: error authenticating: ssh-agent |
I'll try and figure out what is going on |
Ah, I think I've seen that one and have a fix. Hold on |
With master now I just get the following
but it correctly works with ssh |
Which means that your @Keno I wounder can we drop this message about ssh-agent. If it fails, it fails. No harm done, so we switch to key-based authentication. |
Yes exactly - this is working correctly, just the error message is distracting |
Yes, we should drop the message. |
Isn't there a PR for this? |
Already done. |
Can we have some cross references here then (and close the issue as appropriate). |
This is a regression on 0.5.0-rc0 with a local git repo using SSH, this is using the workaround for libcurl
#13472
This is on Ubuntu 3.16.0-77-generic
and then just hangs ...
The text was updated successfully, but these errors were encountered: