From: Michael J Gruber Date: Fri, 09 Sep 2011 19:12:59 GMT Subject: Re: can Git encrypt/decrypt .gpg on push/fetch? Message-ID: <4E6A653B.9090007@drmicha.warpmail.net> In-Reply-To: <7vvct1tu3n.fsf@alter.siamese.dyndns.org> Junio C Hamano venit, vidit, dixit 09.09.2011 21:05: > Jeff King writes: > >>> B) Keep blobs encrypted, checkout decrypted >>> - Use Use "*.gpg filter=gpg" in your attributes and >>> [filter "gpg"] >>> smudge = gpg -d >>> clean = gpg -e -r yourgpgkey >>> in your config. >>> >>> I use A on a regular basis. B is untested (but patterned after a similar >>> gzip filter I use). You may or may not have better results with "gpg -ea". >> >> Yeah, I think that would work but have never tried it either. > > Unless "gpg -e" encrypts the same cleartext into the same cyphertext every > time, the above "clean" filter probably wouldn't be very useful. > Uh, right, this would only make sense with specific versions of debian's openssl then. Only that gpg does not use that ;) I'm not sure whether "gpg --symmetric" has the same issue, but version A) seemed better before that already. Michael