monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: Hash collisions resiliency


From: Nathaniel Smith
Subject: Re: [Monotone-devel] Re: Hash collisions resiliency
Date: Fri, 15 Apr 2005 13:15:10 -0700
User-agent: Mutt/1.5.8i

On Fri, Apr 15, 2005 at 05:47:39AM -0700, Nathan Myers wrote:
> Of actual practical interest is what might happen were a bad packet
> to be delivered while repositories are reconciling.  Are the entire 
> contents of the stream hashed, or only database contents but not 
> communications metadata?  Similarly, what if a bit flips on disk?
> Both events are certain actually to occur in actual use, at least
> to some users.  Does SQLite hash its own data blocks?  PostgreSQL
> includes a 64-bit CRC on every block written to disk.

The entire netsync transport stream (after initial handshake) is
cryptographically MAC'ed.

I don't know how much integrity checking SQLite does on its own;
monotone, however, has SHA1s of everything interesting and the "load
from database" code always verifies these SHA1s before passing the
data off to the rest of the program.

-- Nathaniel

-- 
Details are all that matters; God dwells there, and you never get to
see Him if you don't struggle to get them right. -- Stephen Jay Gould




reply via email to

[Prev in Thread] Current Thread [Next in Thread]