-
Notifications
You must be signed in to change notification settings - Fork 398
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
FR: use a custom ssh-agent #5479
Comments
FWIW, I don’t think the subprocessing is considered a fallback from |
@emilazy Oh! Then should I close this issue? |
Yes, that is also is the plan as I understood it. It may be that we will also have the same support without libgit2 with either Git's native library or Gix, but the libgit2 removal should not impact these. |
That’s not really for me to say :) My bias is against |
I agree that we're attempting to replace libgit2 SSH rather than fall back. I'll executively close this issue under the presumption that it's resolved in #5228. @quad reopen or file a new issue if you get the newer version of jj (at some point) and it turns out that there's a problem, or it otherwise doesn't resolve your workflow here. |
IMO, you should all feel authorized to help triage. Others can always reopen if they think you made a mistake. |
There are many issues related to the use of ssh agents. (see #5228). Personally, I use secretive to store an SSH key in my Github SSH key in my laptop's secure element. However, because jj uses libgit2, it isn't able to support an SSH agent whose identity socket isn't available via
$SSH_AUTH_SOCK
.Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I'm trying to get libgit2/libgit2#7034 merged in libgit2 upstream. If and when it merges, it would be great if jj offered a config to specify a custom ssh agent identity socket.
Of course, when #5228 is released, I'll be able to fallback to using a git subprocess and
.ssh/config
override. But building this functionality straight intojj
would be more straightforward.The text was updated successfully, but these errors were encountered: