Enhance sftp protocol: get SHA hash of file

Philipp Marek philipp.marek at linbit.com
Thu Jun 30 16:24:45 EST 2011


> >> My intention for the hash values enhancement for sftp is a
> >> deduplication backup system. I would cut files into chunks with a
> >> fixed offset.
> > 
> > Well, if you'd prefer a C implementation, there's
> > 
> >  http://fsvs.tigris.org/source/browse/fsvs/branches/fsvs-1.2.x/fsvs/src
> >  /checksum.c?revision=2423&view=markup
> > 
> > with documentation here:
> >  http://doc.fsvs-software.org/doxygen-gif/checksum_8c.html#_details
> 
> Incompatible license. =(  It would have to be something closer to BSD 2
> clause to be acceptable as part of OpenSSH.
Well, as I'm the author of that file, I hereby license the manber-related 
code in that file as BSD 2 - or whatever else is needed for use in openssh.

Perhaps it saves a bit of time - it certainly is no complicated piece of 
code.


Regards,

Phil


More information about the openssh-unix-dev mailing list