[darcs-users] End-to-end validation [was: applying patches on windows]
Juliusz Chroboczek
Juliusz.Chroboczek at pps.jussieu.fr
Tue Nov 8 15:18:40 UTC 2005
>> I believe that this lack of end-to-end validation is a serious limitation
>> of Darcs. It's difficult to fix, though, due to the need to commute
>> patch files around.
> I think a hashed inventory will go a long way towards eliminating this sort
> of problem,
I agree, but I'd still like to see *end-to-end* validation for Darcs.
This is the only Arch feature that I miss in Darcs.
End-to-end validation would consist in a hash computed by the
originator of a patch, which would then be checked even if the patch
went through an arbitrary number of repositories in the meantime.
End-to-end validation protects against all sort of corruption,
including on-the-wire corruption, on-disk corruption, in-memory
corruption, and, if the hashes are cryptographically signed,
intentional tampering.
The trouble with that is that Darcs plays the commutation game, which
invalidates any form of end-to-end hash. The obvious solution would
be to compute hashes in a minimal context, but I'm not sure whether
that would be computationally feasible.
Juliusz
More information about the darcs-users
mailing list