storj/uplink/piecestore
paul cannon 0d1dce508e
ensure uplink is sending correct size with PieceHash (#2555)
If we verify that the size matches reality, we can then expect to use
the filesystem to store the piece size as used in the signed PieceHash
from the uplink. Otherwise, the uplink might send a garbage size value,
leaving the storagenode with no good way to verify the uplink signature
on the piece at a later date.

Also fix the code in uplink/piecestore/ so that it sends a valid size,
because it was being rude and sending 0.
2019-07-15 11:26:18 -04:00
..
buffering.go pkg/auth: add monkit task to missing places (#2123) 2019-06-05 07:47:01 -06:00
client.go protocol: implement new piece signing and verification (#2525) 2019-07-11 16:51:40 -04:00
download.go protocol: implement new piece signing and verification (#2525) 2019-07-11 16:51:40 -04:00
upload.go ensure uplink is sending correct size with PieceHash (#2555) 2019-07-15 11:26:18 -04:00
verification.go pkg/pb: rename Order2 to Order, OrderLimit2 to OrderLimit (#2406) 2019-07-01 18:54:11 +03:00