frostfs-node/pkg/core
Leonard Lyubich 4661f65975 [#645] client/cache: Check response public key in all client operations
There is a need to check if public key in the RPC response matches the
public key of the related storage node declared in network map.

Define `ErrWrongPublicKey` error. Implement RPC response handler's
constructor `AssertKeyResponseCallback` which checks public key. Construct
handler and pass it to client's option `WithResponseInfoHandler`.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-30 20:57:00 +03:00
..
client [#645] client/cache: Check response public key in all client operations 2021-09-30 20:57:00 +03:00
container [#660] core/container: Use version.IsValid in CheckFormat 2021-07-05 11:05:44 +03:00
netmap [#645] core: Define interface of the tool for working with netmap keys 2021-09-07 09:53:18 +03:00
object [#633] object: Disallow empty attribute values 2021-06-24 11:12:23 +03:00
version [#660] core: Implement function to check protocol version adequacy 2021-07-05 11:05:44 +03:00