Commit graph

178 commits

Author SHA1 Message Date
Alex Vanin
72618c4e49 [#22] Update fields in container put request
With explicit signature field, that contains signature of
stable-marshalled container message, there is no need to have
separate fields of the container in request.

Public key will be stored in neofs.id smart-contract for later
signature verifications.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-08-03 18:03:34 +03:00
Alex Vanin
9510aaee5d [#21] Return signature in GetEACL response
With EACLTable signature client can verify if EACLTable is
not corrupted by malicious node.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-08-03 18:03:34 +03:00
Alex Vanin
944cf1ff47 [#21] Use EACLTable in EACL related requests
With EACLTable in requests and container id in EACLTable there
is no need in extra messages such as ExtendedACLKey and
ExtendedACLValue.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-08-03 18:03:34 +03:00
Alex Vanin
27171ef753 [#21] Add container id into EACLTable message
EACLTable message and signature stored in blockchain storage.
If owner has several containers, malicious node can return
correct EACLTable of the container other than client actually
requested. With container id field in the EACLTable, this
malicious behaviour can be detected.

ContainerID has id 1, so contract can easily cut container id
from byte sequence.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-08-03 18:03:34 +03:00
Alex Vanin
6a2c66cbd8 [#20] Add attributes in container definition
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-07-31 17:11:48 +03:00
Leonard Lyubich
b6a0343919 Update changelog for v1.2.0 2020-07-08 10:46:02 +03:00
Leonard Lyubich
caa7e4ff91
Merge pull request #19 from nspcc-dev/feature/eacl-table-message
acl: Define EACLTable message for the table of extended ACL rules
2020-07-08 10:43:25 +03:00
Leonard Lyubich
089c6f1928 acl: Define EACLTable message for the table of extended ACL rules 2020-07-08 10:22:07 +03:00
alexvanin
3dbaac91d0 Update changelog for v1.1.0 2020-06-18 13:44:29 +03:00
Alex Vanin
4e5fa4f9e4
Merge pull request #18 from nspcc-dev/feature/extended-request-headers
service: support extended headers of the request
2020-06-18 13:33:15 +03:00
Alex Vanin
122c9fc548
Merge pull request #17 from nspcc-dev/feature/bearer-token-support
service: add Bearer token message to RequestVerificationHeader
2020-06-18 13:32:43 +03:00
Alex Vanin
2a48bf7e95
Merge pull request #16 from nspcc-dev/feature/container-eacl-rpc
container: add Get/Set extended ACL rpc
2020-06-18 13:32:15 +03:00
Leonard Lyubich
108d7e0fb0 service: clarify the description of BearerTokenMsg.Info.ACLRules field 2020-06-18 11:56:26 +03:00
Leonard Lyubich
f059c49dec service: support extended headers of the request 2020-06-18 11:53:21 +03:00
Leonard Lyubich
1d3ffeb841 service: add Bearer token message to RequestVerificationHeader 2020-06-18 10:58:11 +03:00
Leonard Lyubich
17e07df8d9 container: add Get/Set extended ACL rpc 2020-06-18 10:42:37 +03:00
Evgeniy Kulikov
e65752699f
Merge pull request #15 from nspcc-dev/bump-major-release
Bump mojor release
2020-05-26 12:56:34 +03:00
Evgeniy Kulikov
952358af51
Bump mojor release 2020-05-26 12:36:55 +03:00
Leonard Lyubich
8f9391b995 Update changelog for v0.7.5 2020-05-15 15:55:11 +03:00
Leonard Lyubich
ff41459497
Merge pull request #14 from nspcc-dev/service-token-owner-key
service: add OwnerKey byte field to TokenInfo message
2020-05-15 15:50:20 +03:00
Leonard Lyubich
80e8ab014b service: add OwnerKey byte field to TokenInfo message 2020-05-15 15:29:15 +03:00
Leonard Lyubich
3bb1b0214f Update changelog for v0.7.4 2020-05-08 10:32:35 +03:00
Leonard Lyubich
7921b7d0a3
Merge pull request #13 from nspcc-dev/change-session-create
Change Session.Create RPC
2020-05-08 10:25:17 +03:00
Leonard Lyubich
cbd5605dc9 session: change Create rpc signature
This commit:

  * makes Create rpc call to be unary message;

  * changes CreateRequest structure;

  * changes CreateResponse structure.
2020-05-07 18:44:23 +03:00
Leonard Lyubich
ea9e39b3e0 service: put token lifetime in a separate message 2020-05-07 18:42:29 +03:00
Evgeniy Kulikov
228c8f8cbd
CHANGELOG 2020-04-28 16:25:36 +03:00
Evgeniy Kulikov
ea96f700d4
Merge pull request #12 from nspcc-dev/disable-stringer-method-for-CreationPoint
Disable stringer method for CreationPoint
2020-04-28 16:20:50 +03:00
Evgeniy Kulikov
2658db895c
proto: disable stringer method for CreationPoint 2020-04-28 16:16:52 +03:00
Evgeniy Kulikov
2913edbd42
docs: fix service docs 2020-04-28 16:15:24 +03:00
Leonard Lyubich
17dca3a387 Update changelog for v0.7.2 2020-04-28 12:36:09 +03:00
Leonard Lyubich
54147ddad2
Merge pull request #11 from nspcc-dev/service-fix-token-message
service: remove gogoproto customname from embedded Token.Info field
2020-04-28 11:26:09 +03:00
Leonard Lyubich
1de0d29a74 service: remove gogoproto customname from embedded Token.Info field
This commit:

  * removes gogoproto customname option from embedded Token.Info field;

  * renames Info field of Token message to TokenInfo.
2020-04-28 10:00:11 +03:00
Evgeniy Kulikov
4a2a9db396
Merge pull request #10 from nspcc-dev/object-remove-token-fields
object: remove Token field from PutRequest.PutHeader and DeleteRequest
2020-04-27 15:12:09 +03:00
Leonard Lyubich
738d521214 object: remove Token field from PutRequest.PutHeader and DeleteRequest
Session token is presented in RequestVerificationHeader, therefore its
presence in request bodies is redundant.
2020-04-27 13:17:16 +03:00
Leonard Lyubich
360d3ae2ce docs: regenerate 2020-04-27 13:14:31 +03:00
Evgeniy Kulikov
78af092531
Merge pull request #9 from nspcc-dev/request-headers-body-changes
Changes for updated session token
2020-04-27 12:29:22 +03:00
Leonard Lyubich
da3cb02936 object: remove redundant Raw field from GetRequest and HeadRequest 2020-04-27 11:00:03 +03:00
Leonard Lyubich
6b68940643 token: update structure
This commit:

  * moves Token message to service package;

  * updates token structure (new verb field, some renaming);

  * replaces VerificationHeader header with Token in object package;

  * removes no longer used VerificationHeader message.
2020-04-27 10:59:44 +03:00
Leonard Lyubich
b84fab4d24 service: change RequestVerificationHeader message
This commit:

  * removes RequestVerificationHeader.Signature message;

  * renames RequestVerificationHeader.Sign message to Signature.
2020-04-23 13:44:21 +03:00
Leonard Lyubich
a891eff012 service: add Raw field to RequestMetaHeader 2020-04-23 13:34:06 +03:00
Evgeniy Kulikov
e411a89c52
CHANGELOG 2020-04-20 13:41:59 +03:00
Evgeniy Kulikov
f3ff630d9e
Merge pull request #8 from nspcc-dev/add-rpc-method-to-change-node-state
Add gRPC method to change current node state
2020-04-20 13:33:18 +03:00
Evgeniy Kulikov
c9edac72b4
docs: regenerate files 2020-04-20 13:29:30 +03:00
Evgeniy Kulikov
096e7211b4
proto: add method to change current node state 2020-04-20 13:29:30 +03:00
Evgeniy Kulikov
ad46d41313
make: change deps output 2020-04-20 12:03:55 +03:00
Leonard Lyubich
1d7c767759 update changelog for v0.7.0 2020-04-16 17:00:36 +03:00
Leonard Lyubich
974aaee0a2
Merge pull request #7 from nspcc-dev/put-header-copies-number
Add numerical field CopiesNumber into object.PutRequest.PutHeader
2020-04-15 20:03:45 +03:00
Leonard Lyubich
846a84cd0c regenerate docs 2020-04-15 18:27:46 +03:00
Leonard Lyubich
17e7c3ae30 add PutRequest.PutHeader.CopiesNumber uint32 field 2020-04-15 18:26:03 +03:00
Evgeniy Kulikov
4c4e3340d6
CHANGELOG 2020-04-15 14:37:31 +03:00