-
Notifications
You must be signed in to change notification settings - Fork 7
Add support for libassuan file sockets (WinGnuPG support) #52
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
Conversation
This commit squishes the changeset presented on jstarks#6. That commit is then rebased onto albertony/npiperelay:fork Co-authored-by: Lex Robinson <lex@lex.me.uk>
Thank you. Had a quick look, and the first impression is positive. 👍 I will not have the time/opportunity to test the functionality myself, so I will review the code a bit more thoroughly later (maybe in a day or two), and any testing you are able to do is welcome (I noticed you mentioning you have already done some testing, so maybe you consider it covered?). I saw one comment in one of the old threads;
You didn't notice anything similar in your tests, I assume? |
@albertony Thanks for the quick response! For testing I tried Tonight I additionally tried if it would work for As for hanging around after the pipe is finished, in that PR I do see after that comment he pushed |
This morning I did a few more tests on the SSH agent, and those showed that NZSmartie/npiperelay (which is used in most guides out there for the GPG agent) exhibits the same behavior, for me it only works for the GPG agent and not for the Assuan socket of the SSH agent. I additionally tested both |
Great. Thank you for your efforts, including the explanations here. Appreciated. If you are happy with the current state, we can merge it? And if/when we want to dig further into the mentioned issues, we can iterate on those later. |
@albertony Yes, happy with the current state and would be great if it can be merged, thank you for actively maintaining this fork! |
@albertony thank you! 🎉 |
I've been following this closely (and quietly I guess) since relying on a long-unmaintained fork was just a terrible idea, so I'm very happy to see this merged into a maintained fork now. Thanks to everyone involved (@NZSmartie, @Lexicality, @ndimiduk, and @SunMar) for finally getting this done, and thanks to @albertony for merging it. I've also updated wsl-gpg-systemd to use this for all future installs. Thanks again! |
This is an attempt to revive #35 (which is merge of jstarks#6), as it seems to be dead waiting for some comments to be resolved.
This PR addresses those comments, I did not make any other changes to the implementation code itself. I tested this in my own WSL environment and was able to communicate with the GPG agent through Assuan file sockets. Commands like
gpg --card-status
and signing Git commits worked using the nativegpg
binaries and without running a separate agent inside WSL.Let me know if any other changes are needed.