Just testing with Whiterose with CVS about 1/2 hour old java Freenet.client.BInsert -serverAddress tcp/127.0.0.1:21773 -htl 1 freenet:CHK@ ~/1984.html
now wrose reads all this in fine untill it comes to the control byte, which is neither 0x00 or 0x01. There is, however, 0x00 (CB_OK) after the data part. As I understand it (and as is documented) the control byte should be after the hash, not before. Just to clear things up: (P = part 16384 bytes long, H = SHA1 hash, C = CB_OK) I'm expecting PHC I'm getting PCH However when I test: java Freenet.crypt.ProgressiveHashInputStream ~/1984.html 16384 1 I get the expected PHC order. Attached is a raw dump of the bad data from BInsert, it stops just after the first part because wrose aborted. Note the CB_OK at offset 0x4000 - I think it should be at 0x4014. AGL -- Whenever anyone says, "theoretically," they really mean, "not really." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 240 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20000817/cac7600a/attachment.pgp>
