On Mon, Apr 02, 2001 at 05:37:44PM -0500, Brandon wrote: > > Any two non-identical files will have different CHKs when inserted. The > > situation we have now is that two different files with the same data section > > but differing metadata will have the same encryption key for the CHK. The > > 2 CHKs will still be different. This is because for some strange reason > > the encryption key is generated from the data section only instead of the > > entire file. > > So are you saying that the CHKs for two identical files with differing > metadata will be different? Because the point is that the CHKs for two > identical files with differing metadata should be the same unless they're > control documents, in which case they should be different, which is the > fundamental problem here.
With differing metadata *in the CHK*, yes, the CHKs are different. I'm not talking about metadata stored in another key. The point is that the encryption key ought to be generated from the whole file, not part of it. A side effect of this oddity is that any CHK control documents have the same encryption key. As for metadata in CHKs, we should probably just get rid of it. The metadata should be in another key. -- # tavin cole # if code is law, then Freenet is a crowded theater _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
