-
Notifications
You must be signed in to change notification settings - Fork 575
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
Run GPG in shell on Unix as well (#7467) #7575
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@Byron is attempting to deploy a commit to the GitButler Team on Vercel. A member of the Team first needs to authorize it. |
This way there are higher chances of picking up the required PATH configuration, making signing operations more likely to work.
) The `SHELL` environment variable is set on MacOS to represent the login shell. It is probably more likely to yield an environment that can run the signing program. Note that doing so usually is dangerous as well if scripts were to be used, but that's not the case here - we know a program is provided.
@krlvi Maybe you could take a look and try the Windows version, something that I failed to do unfortunately due to strange technical issues on this machine. The reason it should be tried is that now the |
Thanks for this. I will try to validate this today |
@Byron I was able to test signing working correctly on Windows with this branch. Both in the test UI as well as in commit creation. Unfortunately setting gpg.program is not enough: But if I set it in GitButler, signing works ![]() |
Thanks so much for validating! It's interesting that the Something I find strange is the need to use msys-paths, but maybe |
This way there are higher chances of picking up the required PATH configuration, making
signing operations more likely to work.
Fixes #7467 .
Tasks
sh
isn'tzsh
, which would be more likely to workSHELL
.zsh
, but that's merely a problem of my setup which requires a login shell.