News for hackers. Stuff that matters.
Re:Show HN: Encrypted Git hosting should be easy by donatj on Wednesday August 31, 2022 @08:54PM (#32670402)
This is too dang complicated.

For years, across two different jobs we just had bare repos on Linux servers - we used git's built in ssh support and we liked it. Worked great. We wanted a Pull Request workflow and moved to GitHub, but self hosted is fine.

All you really need is a server your developers can SSH into with a shared directory. $2 a month Vultr server and you're golden.

You want to get real spicy, you can just do this without a central server at all, The way God and Linus intended. git was designed to be decentralized. You don't even need to share the server, you can just pull from each other's repos if you give each other your SSH access to each other's repos.

Re:Show HN: Encrypted Git hosting should be easy by nathants on Wednesday August 31, 2022 @08:56PM (#32670427)
git with ssh on a server is fantastic, though sometimes managing and paying for the server can be annoying.

afaik it's not possible to have an untrusted git server, at a minimum ram contents will be plaintext.

before i undertook this, i had never heard of git-bundle:

https://git-scm.com/docs/git-bundle

Re:Show HN: Encrypted Git hosting should be easy by donatj on Wednesday August 31, 2022 @09:14PM (#32670550)
> at a minimum ram contents will be plaintext

The only thing that's going to remain resident after a push/pull is os level file system cache. There's no daemon when operating git over ssh.

Are container escapes on major hosting services common enough to even worry about? I don't hear much about them.

Or are you concerned about AWS/Vultr/Digital Ocean stealing your code? That seems like paranoia. They have world class developers, best in the industry. They don't want your code. This isn't the movie Antitrust.

Re:Show HN: Encrypted Git hosting should be easy by nathants on Wednesday August 31, 2022 @09:23PM (#32670637)
yes, the concern is aws employees reading my private poetry collection. my rights!
Re:Show HN: Encrypted Git hosting should be easy by minitech on Thursday September 01, 2022 @03:55AM (#32673351)
> All you really need is a server your developers can SSH into with a shared directory. $2 a month Vultr server and you're golden.

which addresses exactly none of what this project is intended to, since there’s no end-to-end encryption. (yes, if you don’t need end-to-end encryption on your git repo, this is too complicated for your use case.)

Re:Show HN: Encrypted Git hosting should be easy by ReactiveJelly on Wednesday August 31, 2022 @10:18PM (#32671072)
SSH is a lot of privilege for a coworker to have. You could get by with HTTP GETs and `update-server-info`
Re:Show HN: Encrypted Git hosting should be easy by MayeulC on Thursday September 01, 2022 @03:12AM (#32673056)
I usually use the followig when developing with multiple people without an Internet connection:

https://stackoverflow.com/a/377293

   git daemon --reuseaddr --base-path=. --export-all --verbose
Others can just pull from the IP address. Works well for hacking in the field, a PR is just one shout away :)
Re:Show HN: Encrypted Git hosting should be easy by nathants on Friday September 02, 2022 @03:46PM (#32695013)
telnet git on lan! til.