3 ms·
Does the code for this exist somewhere?
by ArchOversight 2y ago
Does the code for this exist somewhere?
- zxcvgm 2y agoDoesn't look like it, but the author uses the Go SSH agent library [1] which _does_ have some example code there and looks pretty straightforward, based on what was described in the post. [1] https://pkg.go.dev/golang.org/x/crypto/ssh/agent https://pkg.go.dev/golang.org/x/crypto/ssh/agent
- hiAndrewQuinn 2y agoIt is indeed very straightforward. I did a quick check and I use this exact library for my "coarse-grained Debian diff" program, `meikkalainen` [1], and I was able to get it up and working mostly how I wanted within the same morning I started it. Very straightforward, even for a guy who doesn't spend a lot of time in the Goverse. [1]: https://github.com/hiAndrewQuinn/meikkalainen/tree/main https://github.com/hiAndrewQuinn/meikkalainen/tree/main
- mjg59 2y agoIt does, but unfortunately not somewhere I can point at it yet. I'm working on it.