frostfs-node/pkg
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
..
core [#645] client/cache: Check response public key in all client operations 2021-09-30 20:57:00 +03:00
innerring [#645] ir/rpc: Revert using client cache as interface 2021-09-30 20:57:00 +03:00
local_object_storage [#840] shard: Fix metabase Inhume parameters for tombstones 2021-09-27 11:27:41 +03:00
metrics [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
morph [#627] morph: Inherit internal.StaticClient interface in all wrappers 2021-09-30 14:47:04 +03:00
network [#645] client/cache: Check response public key in all client operations 2021-09-30 20:57:00 +03:00
services [#645] client/cache: Check response public key in all client operations 2021-09-30 20:57:00 +03:00
util [#798] util/state: Implement persistent storage for application state 2021-09-07 17:22:25 +03:00