storj/uplink/storage/streams
JT Olio 12d50ebb99
streams: don't encrypt segment count (#2859)
What: this change makes sure the count of segments is not encrypted.

Why: having the segment count encrypted just makes things hard for no reason - a satellite operator can figure out how many segments an object has by looking at the other segments in the database. but if a user has access but has lost their encryption key, they now can't clean up or delete old segments because they can't know how many there are without just guessing until they get errors. :(

Backwards compatibility: clients will still understand old pointers and will still write old pointers. at some point in the future perhaps we can do a migration for remaining old pointers so we can delete the old code.

Please describe the tests: covered by existing tests

Please describe the performance impact: none
2019-08-22 15:15:58 -06:00
..
eof.go rename all the things (#2531) 2019-07-28 08:55:36 +03:00
path.go rename all the things (#2531) 2019-07-28 08:55:36 +03:00
shim.go rename all the things (#2531) 2019-07-28 08:55:36 +03:00
size.go rename all the things (#2531) 2019-07-28 08:55:36 +03:00
store.go streams: don't encrypt segment count (#2859) 2019-08-22 15:15:58 -06:00