Re: Transparently encrypt repository contents with GPG
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Mar 13, 2009, 11:15 UTC
- Message-ID
- <200903131215.49336.trast@student.ethz.ch>
- In-Reply-To
- <49BA39A1.9090203@drmicha.warpmail.net>
Michael J Gruber wrote:
> "git help attributes" may help: look for filter and set attributes and
> config (filter.$name.{clean,smudge}) accordingly. smudge should probably
> decrypt, clean should encrypt.Wouldn't this trip over the randomness included in all encryption [to avoid generating the same cyphertext for two separate identical messages, which gives away some information], which would let git think the file has been changed as soon as its stat info has changed (or is just racy)?
Not to mention that this makes most source-oriented features such as diff, blame, merge, etc., rather useless.
--
Thomas Rast
trast@{inf,student}.ethz.ch