From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <7bffd90986cd11342f8d01fbd53e84e0@quanstro.net> References: <52ff22213469a7c44664b00697c28256@proxima.alt.za> <7bffd90986cd11342f8d01fbd53e84e0@quanstro.net> Date: Tue, 3 Feb 2009 13:38:00 +0000 Message-ID: From: roger peppe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Sources Gone? Topicbox-Message-UUID: 93ff72cc-ead4-11e9-9d60-3106f5b1d025 in the past i've pondered, in my crypto-naive way, if it might be possible to make venti (or at least vac) somewhat more secure by applying some kind of crypto to the data structures containing scores. to my mind, the biggest security vulnerability in venti is the ability to unconditionally enumerate an entire file tree given its root score. if the VtPointer data structures, or the scores within them, were encrypted somehow, maybe that vulnerability could be mitigated. scores would still be useful, but only in conjunction with a (salted) key. of course, this would mean that pointer blocks would no longer be shared between file trees, but it's my suspicion that they don't use a significant percentage of overall storage. this wouldn't require a change to venti itself. but as i said, i'm naive when it comes to crypto; maybe there's no way of doing this with any decent degree of security or usefulness. 2009/2/3 erik quanstrom : >> >> I'm not sure how you'd fix this. What if only a portion of the block >> >> belongs to me and the other happens to be the password file? >> > >> > venti just stores whole blocks. >> >> Yes, but the content isn't guaranteed to be from a single user. In >> fact, venti has no clue. Change that and it's not venti anymore. > > exactly. but it's important to note that it's crypto hard to guess > somebody else's block. since blocks are addressed by content, you > can't share a block with someone else unless both of you stored > the same block. now if you are worried about libventi blocks with > pointers to other blocks, the same logic applies. venti really doesn't > care what you store. > > - erik > >