Conversation
pkg/services/object/put/local.go
Outdated
| checksum.SHA256, | ||
| checksum.TillichZemor: | ||
| case checksum.TillichZemor: | ||
| return errors.New("object has Tillich-Zémor checksum") |
There was a problem hiding this comment.
@roman-khimov, i want it to be this way, but i am not sure: we had this, and this was solved, and i really think that not all of our internals were ever ready for TZ hashing in the payload_checksum field but on the other hand, i am not sure, prohibiting it like this (even replication) is a good idea
There was a problem hiding this comment.
Should be OK, at least objects with non-SHA256 hashes are invalid as per API even not considering TZ removal.
Refs #3847. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Refs #3847. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Refs #3847. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
The still can be read if needed as a callback for unknown fields. Refs #3847. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Refs #3847. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Refs #3847. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This brings TZ hashing deprecated and unsupported. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Refs #3847. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Closes #3847. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
|
There are many-many tests that use |
Closes #3847.