News for hackers. Stuff that matters.
Re:Show HN: Encrypted Git hosting should be easy by nathants on Wednesday August 31, 2022 @09:03PM (#32670464)
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 multiple concurrent writers can safely collaborate without risk of force pushing over each other.

Re:Show HN: Encrypted Git hosting should be easy by bcjordan on Wednesday August 31, 2022 @09:56PM (#32670914)
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 by nathants on Wednesday August 31, 2022 @10:34PM (#32671195)
it might be worth making dynamodb optional, so all s3 compatible remotes can be used. i made it non-optional to simplify implementation and documentation. there are no knobs, no conditional semantics.
Re:Show HN: Encrypted Git hosting should be easy by wanderingmind on Wednesday August 31, 2022 @09:21PM (#32670621)
Oops missed it, in which case will definitely give it a shot.