frostfs-node/pkg/services
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
..
accounting [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
audit [#770] logger: Delete spaces in log message keys 2021-09-07 12:55:01 +03:00
container [#811] service/container: Hide cache invalidation logic in Writer interface 2021-09-13 14:50:18 +03:00
control [#860] Re-compile protobuf files after make protoc target update 2021-09-29 17:51:33 +03:00
id [#11] Trim the old functionality 2020-10-02 11:22:55 +03:00
netmap [#660] services/netmap: Don't call IsSupportedVersion in LocalNodeInfo 2021-07-05 11:05:44 +03:00
object [#645] client/cache: Check response public key in all client operations 2021-09-30 20:57:00 +03:00
object_manager [#645] placement/traverser: Rename Key method of Node type to PublicKey 2021-09-30 20:57:00 +03:00
policer [#645] *: Use helper functions to build client.NodeInfo structures 2021-09-30 20:57:00 +03:00
replicator [#645] *: Use helper functions to build client.NodeInfo structures 2021-09-30 20:57:00 +03:00
reputation [#607] reputation,container: Support address groups in ServerInfo 2021-06-28 15:52:50 +03:00
session [#562] pkg: remove nspcc-dev/neofs-crypto dependency 2021-06-15 14:49:59 +03:00
util [#643] pkg: Sync method names and commentaries to them 2021-06-24 16:10:44 +03:00