Code Monkey home page Code Monkey logo

Comments (17)

BusyJay avatar BusyJay commented on May 19, 2024 1

I see. I can give it a try these weekend and see whether it works. What need to be done are to support name pipe and cygwin compatible socket.

If you are in a hurry, contributions are also welcome.

from gpg-bridge.

BusyJay avatar BusyJay commented on May 19, 2024 1

Waiting for tokio-rs/tokio#3388.

from gpg-bridge.

BusyJay avatar BusyJay commented on May 19, 2024 1

Detaching problem is detected and fixed.

from gpg-bridge.

colemickens avatar colemickens commented on May 19, 2024

reading through this makes it sound like the S.gpg-agent.ssh socket is special in Windows and handled differently than the extra gpg socket, so maybe I just need to continue using both tools until https://dev.gnupg.org/T3883 is fixed.

from gpg-bridge.

colemickens avatar colemickens commented on May 19, 2024

(selfishly, I'd love a tool that could do both with just one background service to setup)

from gpg-bridge.

BusyJay avatar BusyJay commented on May 19, 2024

along with wsl-ssh-pageant to forward SSH+GPG sockets to a remote machine and perform SSH+GPG operations.

Can you explain more on that? Like forward ssh from wsl to remote? Or something else?

I can forward the ssh agent to remote by using the native windows ssh client by simply configuring ForwardAgent yes to yes. What needs to be done is making sure the ssh-agent service that comes from the client are started.

from gpg-bridge.

colemickens avatar colemickens commented on May 19, 2024

from gpg-bridge.

colemickens avatar colemickens commented on May 19, 2024

This post contains details about the exact setup I'm using now: PowerShell/Win32-OpenSSH#827 (comment)

from gpg-bridge.

colemickens avatar colemickens commented on May 19, 2024

One thing I've noticed - however gpg-bridge is backgrounding itself, it manages to entirely disappear from Task Manager and then I don't know if it is running or not. (Process Explorer sees it, though.)

from gpg-bridge.

BusyJay avatar BusyJay commented on May 19, 2024

Windows will create a blank terminal window for console program, gpg-bridge uses some trick to get around the issue, the side effect is it will not be shown up in Task Manager. There are two solutions for the problem, one is to implement it as Windows Service instead, the other is to use a systray as #4 describes.

from gpg-bridge.

colemickens avatar colemickens commented on May 19, 2024

Looks like this is unblocked: tokio-rs/tokio#3760

EDIT: just wanted to say thanks again for this, I use it almost every day.

from gpg-bridge.

BusyJay avatar BusyJay commented on May 19, 2024

Glad it helps! I may check it at weekends.

from gpg-bridge.

BusyJay avatar BusyJay commented on May 19, 2024

I can read bytes from named pipe now, but I can't make gnupg ssh socket to accept requests. I may need more time on this.

from gpg-bridge.

BusyJay avatar BusyJay commented on May 19, 2024

I pushed my changes. The script has been largely updated, including changes to command line arguments to support new ssh forwarding. See README for how to use the tool.

I have tested locally to make sure ssh forwarding work, but if you find any problem, don't hesitate to report.

from gpg-bridge.

colemickens avatar colemickens commented on May 19, 2024

It seems like it's working well when I use this:

.\gpg-bridge.exe --extra 127.0.0.1:4321 --ssh \\.\pipe\gpg-bridge-ssh

If I use this instead, it went into some awful loop spawning itself over and over trying to spawn the detached window it looked like.

.\gpg-bridge.exe --detach --extra 127.0.0.1:4321 --ssh \\.\pipe\gpg-bridge-ssh

from gpg-bridge.

colemickens avatar colemickens commented on May 19, 2024

Also, thank you x1000. This is quite slick.

from gpg-bridge.

BusyJay avatar BusyJay commented on May 19, 2024

Close as the feature is implemented.

from gpg-bridge.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.