Re:Improving Git protocol security on GitHub
by mnarayan01 on Wednesday September 01, 2021 @09:47PM
(#28387806)
Git has all sorts of options for using proxies, but running socat would be the quick and dirty way to do this, something like:
would let you use an HTTP connection to your less archaic machine. Could even configure git to automatically do the rewrite similar to https://stackoverflow.com/questions/1722807/how-to-convert-g.... There's security considerations here so don't just do this blindly, but if no more unencrypted git protocol is a real pain point there's pain free ways around it.
[ Parent
| on HN ]
Re:Improving Git protocol security on GitHub
by dfawcus on Thursday September 02, 2021 @08:56AM
(#28391482)
Potentially useful, since I've used proxies before in a different manner.
However what I'm more inclined to do is simply compile up a version of git from source, ensure it includes the HTTPS transport, and links against an appropriate TLS/SSL library. I used to build it from source years ago (on a different platform).
The git protocol approach was simply to avoid that hassle, as used correctly it is safe enough.