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