News for hackers. Stuff that matters.
Re:How to Write a New Git Protocol by JoshTriplett on Friday February 13, 2015 @10:41PM (#9048664)
Depends on the behavior you want. With smudge/clean filters, the files in the repository history are encrypted. That means you don't get the benefit of delta encoding, and any tools you have that look directly at the repository (such as gitk or anything based on libgit2) cannot operate on the cleartext data.

On the other hand, git-remote-gcrypt (https://github.com/joeyh/git-remote-gcrypt/) encrypts when pushing and decrypts when pulling, which leaves the local repository unencrypted but keeps it encrypted on the untrusted remote server.

Re:How to Write a New Git Protocol by michaelmior on Friday February 13, 2015 @11:15PM (#9048722)
That's a fair point :) Although I do like the fact that the smudge/blur approach means that you can selectively encrypt files as well as still share the entire repository publicly via any protocol.
Re:How to Write a New Git Protocol by JoshTriplett on Saturday February 14, 2015 @01:24AM (#9048922)
True. And it also has the advantage of failing closed (if you accidentally push to the wrong place) rather than failing open.