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…
Show HN: Encrypted Git hosting should be easy
31–40 of 71 posts
Re: Show HN: Encrypted Git hosting should be easy
#32Earlier quoted context omitted.
even when you can trust your provider, and often you can, not trusting them can be psychologically beneficial.
I mean, you need to be a bit realistic, and not kid yourself about who has access.
Re: Show HN: Encrypted Git hosting should be easy
#33Ignorance: What's the use-case for this? If you can't rely on the drives not to be tampered with, surely you also cannot rely on the CPU or kernel? Am I missing something?
i think the best way to think of this is that it's cheaper than private github/gitlab and easier that aws codecommit. also other stuff.
The hard part is solving the "lost my yubikey" UX issue but I suspect Apple will reach a reasonable solution that finds an OK balance of convenience and user-authenticating security.
Re: Show HN: Encrypted Git hosting should be easy
#34Earlier quoted context omitted.
i think the best way to think of this is that it's cheaper than private github/gitlab and easier that aws codecommit. also other stuff.
I feel like once web browsers / hardware devices start to implement authentication the UX and accessibility of these sorts of tools can become a default choice for user data. The hard part is solving the "lost my yubikey" UX issue but I suspect Apple will reach a reasonable solution that finds an OK balance of convenience and user-authenticating security.
lost my yubikey is somewhat covered by the popularity of crypto. recommend users to backup fido2 secrets as bip39 mnemonics.
ios and android will hopefully help popularize fido2.
Re: Show HN: Encrypted Git hosting should be easy
#35Earlier quoted context omitted.
git-remote-gcrypt supports rclone, and all of it's backends. i would use that for your use case. this takes an explicit dependency on aws, though all that is needed is: - (large) object storage with read-after-write consistency (s3) - (small) object storage with compare-and-swap (dynamodb) it would be easy to port this to any provider that provides these two kinds of object storage. compare-and-swap means that multip…
Something about the idea of being able to back things up on multiple remote target storage services sounds extra compelling. Simple encryption with robust backup for e.g. text notes.
Re: Show HN: Encrypted Git hosting should be easy
#36Earlier quoted context omitted.
I mean, you need to be a bit realistic, and not kid yourself about who has access.
Better to know for certain (up to confidence and security in the encryption/authentication and key management scheme(s)) than to have faith in the unknown processes and systems of a third party. However, as always, it's all about designing, implementing, and operating a good engineering solution to whatever threat model you have and use.
Re: Show HN: Encrypted Git hosting should be easy
#37Why S3? I don't have an aws account and don't ever plan on having one. If you want to make git hosting easy, make a self-contained executable that requires nothing but a bare unix-like environment.
s3 is sota, but there are others. just run git on a server! not one executable, but you can pretend.
Re: Show HN: Encrypted Git hosting should be easy
#38Re: Show HN: Encrypted Git hosting should be easy
#39Earlier quoted context omitted.
s3 is sota, but there are others. just run git on a server! not one executable, but you can pretend.
S3 is a cloud service provided by one company. It's not state of the art.
Many cloud providers provide an S3-Compatible object-store protocol. There's also open source projects self-hosting your own S3-Compatible object storage.
Swapping out DynamoDB for (say) Redis would also be fairly easy.
The source provided is a few hundred lines of pretty readable Golang.
While I'm not generally a fan of "If you don't like it, submit a PR to fix it" type responses - as a short example of how to implement something like this, it's a pretty decent starting point.