subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <>
Subject Re: securing of correct transmit
Date Sat, 23 Jul 2016 18:03:17 GMT
Eric Johnson wrote on Fri, Jul 22, 2016 at 09:27:50 -0700:
> Hi Lars,
> On 7/22/16 1:56 AM, Krueger, Lars (CQSE) wrote:
> >Hello together,
> >I need to know how SVN ensures that each item (comminting or updateing) is
> >correctly transmitted from/ to a repository. If I use ‘svn info’ command I
> >can see a ‘Checksum’ for a file. Do you use this Checksum?
> I have not examined the code. I can say, however, in the years that I've
> been lurking on this list, I've *never* seen anyone report an issue with a
> file being corrupted in transit to the server. I assume that is because the
> answer to your question is emphatically, "yes".

Yes, we use checksums in both directions.  The checksum is usually sha1
although it may be md5 for old data [written by 1.5(?) and older].

> Of course, it is open source, so you can go look at the code. I was curious
> whether I could find it. This seems like the right file. I see references to
> "checksum" in their, so that's promising.

My answer would be the open_file/apply_textdelta/close_file sequence
from the svn_delta_editor_t type.  These three are the interface that
transmits a versioned file across the wire.



View raw message