[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: prevent Linux root from seeing my files

From: Piotr Kabaciński <piotr_at_kabot.net>
Date: Mon, 29 Nov 2010 18:21:34 +0100

On 11/29/2010 12:50 PM, Campbell Allan wrote:
>> If you are able to create dedicated partition you could encrypt repo
>> like described here:
>> http://www.hypersphere.org/personal/svn.shtml
>
> With some pretty important drawbacks, the no diff/conflict resolution would be
> a dealbreaker for me

With encryption on filesystem level files in repo are not saved as
binary (in terms of svn). Svn with repo works like it works before.
Drawback is that OS has to compress and decompress file every time you
need to commit/checkout.
Diff would be useless if you encrypt every file before commit, and send
it as binary, and that is not this situation.

greetings

> * The svn diff command is rendered useless, as the repository itself is
> comprised, entirely, of encrypted data.
> * The repository will be enormous. Because the data is all encrypted with a
> block cipher, Subversion will be incapable of efficiently storing diffs, and
> compression programs (such as BZip) will, also, have little effect. A few
> basic tests have shown a 300% increase in repository size, making it wise to
> restrict the amount of data stored therein.
> * Conflict-resolution via subversion will also be useless. If a conflict
> occurs, you'll have to manually merge the two versions on the mountpoint.

-- 
Piotr Kabacinski
a2Fib3Q
Received on 2010-11-29 18:22:19 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.