Skip to content

Add support for libassuan file sockets (WinGnuPG support) #6

Open
Lexicality wants to merge 10 commits into
jstarks:masterfrom
Lexicality:libassuan
Open

Add support for libassuan file sockets (WinGnuPG support) #6
Lexicality wants to merge 10 commits into
jstarks:masterfrom
Lexicality:libassuan

Conversation

@Lexicality

Copy link
Copy Markdown

This PR fixes #2 to resolve #1.

I left @NZSmartie's commits untouched, but I can rebase and squash if you like.

NZSmartie and others added 10 commits December 28, 2017 19:32
golint was complaining about these existing, and we already use
windows.ERROR_BROKEN_PIPE so it made sense to pull the others in too.
- Move os.NewSyscallError
- Remove unused variable
- Refactor code into dialAssuan and revert changes to dialPipe
- Have a constant for the polling timeout
- Use more standard error handling
- Don't open the pipe over and over if polling
- Don't call strconv.Atoi if we know there's no valid text
@SidShaytay

Copy link
Copy Markdown

When will we have a release with gpg support? Thanks!

@wizhippo

wizhippo commented May 1, 2020

Copy link
Copy Markdown

I too would like a new release now that wsl 2 is almost out.

@Legion2

Legion2 commented Jul 23, 2020

Copy link
Copy Markdown

Add me to the list of waiting people

@Lexicality

Copy link
Copy Markdown
Author

Side note that my fork (wsl-relay) supports gpg and I've been using it with an edited version of Nimamoh's Script in WSL2 without problem

ndimiduk pushed a commit to ndimiduk/npiperelay that referenced this pull request Feb 27, 2024
This commit squishes the changeset presented on jstarks#6. That commit is then rebased
onto albertony/npiperelay:fork
ndimiduk pushed a commit to ndimiduk/npiperelay that referenced this pull request Feb 27, 2024
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>
albertony pushed a commit to albertony/npiperelay that referenced this pull request Feb 6, 2025
* Add support for libassuan file sockets (WinGnuPG support) (jstarks#6)

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>

* address linter issues

* Fix PR remarks

---------

Co-authored-by: NZSmartie <nzsmartie@gmail.com>
Co-authored-by: Lex Robinson <lex@lex.me.uk>
Co-authored-by: Nick Dimiduk <ndimiduk@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for LibAssuan file sockets

5 participants