-
Notifications
You must be signed in to change notification settings - Fork 150
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
Using 'ssh for straight-vc-git-default-protocol raises an odd error #449
Comments
See #334. You should be able to work around the problem more easily by configuring |
Alternatively, I believe you should be able to install an |
I have (Nope. Maybe if I could change /usr/X11R6/bin/... somewhere...) |
On Linux, I can install an ssh-askpass program and then export the
Perhaps you have some package like |
Ok. Thanks for the suggestions; it's clearly not a straight.el problem, but I appreciate the advice. |
Well, it definitely is a |
FYI: I found an easy workaround. If I add a new package, I start emacs in a shell without a window manager:
And then it uses ssh-agent and ssh works fine. I don't know why |
I don't believe this is actually an error in
straight.el
but I encountered it as a consequence so I'm wondering if you've already seen the answer. Feel free to simply close this without comment if the answer isn't obvious.Per our earlier discussion (#441), I switched to using
ssh
as the default protocol for git. That allowed me to get packages from my non-github private repo.In the course of exploring a broader re-write of my Emacs init file (what else are holidays for?), I had occasion to "start over" in a clean home directory. During the bootstrap process, straight.el comes to a github repo it wants to clone and falls over.
I'm running on MacOS and there's no
/usr/X11R6/bin/ssh-askpass
in sight. There is/usr/local/bin/pinentry-mac
which I imagine would do the trick. So I go looking for where the X11R6 reference occurs. I expect to find a variable I can set to the correct pinentry program and all will be well./Applications/Emacs.app/Contents/Resources/lisp
(and yes, I did unzip them before grepping 😄 )I nudged the system to make sure it hadn't simply timed out, but no, ssh and friends were happy to go along with the agent values without asking me to refresh my password.
The workaround was simply to change the default protocol back to
https
, run the initial bootstrap, and then change it back tossh
. That'll be fine until the next time it tries to clone a new package, I guess, but hopefully I'll remember what to do.Anyway, I'm just wondering if my ignorance is showing?
The text was updated successfully, but these errors were encountered: