frostfs-node/pkg/services/object
Leonard Lyubich 4661f65975 [] 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
..
acl [] object/acl: fix eACL target processing 2021-09-10 15:15:36 +03:00
delete [] pkg: Sync method names and commentaries to them 2021-06-24 16:10:44 +03:00
get [] client/cache: Check response public key in all client operations 2021-09-30 20:57:00 +03:00
head [] *: Use helper functions to build client.NodeInfo structures 2021-09-30 20:57:00 +03:00
internal [] client/cache: Check response public key in all client operations 2021-09-30 20:57:00 +03:00
put [] client/cache: Check response public key in all client operations 2021-09-30 20:57:00 +03:00
search [] client/cache: Check response public key in all client operations 2021-09-30 20:57:00 +03:00
util [] *: Change the locality condition of the node from the placement 2021-09-07 09:53:18 +03:00
metrics.go [] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00
response.go [] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
server.go [] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00
sign.go [] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
transport_splitter.go [] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00