Commit graph

29 commits

Author SHA1 Message Date
Alex Vanin
fabdd78d63 Add pre-release jindo branch 2020-09-18 10:39:50 +03:00
Alex Vanin
0a5d0ff1a2 Remove v1 code 2020-09-18 10:39:45 +03:00
Evgeniy Kulikov
d45548c43b
Implementing proto.Clone 2020-07-03 09:17:35 +03:00
Leonard Lyubich
03bc5c5f89 container: implement SignedDataSource interface on EACL messages 2020-06-18 16:26:44 +03:00
Leonard Lyubich
ee584f325c Update to neofs-api v1.1.0 2020-06-18 15:01:25 +03:00
Leonard Lyubich
74e917810a service: support broken apart signable payload of the requests
In previous implementation service package provided types and functions
that wrapped signing/verification of data with session token.
This allowed us to use these functions for signing / verification of
service requests of other packages. To support the expansion of messages
with additional parts that need to be signed, you must be able to easily
expand the signed data with new parts.

To achieve the described goal, this commit makes the following changes:

  * adds GroupSignedPayloads and GroupVerifyPayloads functions;

  * renames SignedDataWithToken to RequestData, DataWithTokenSignAccumulator
    to RequestSignedData, DataWithTokenSignSource to RequestVerifyData;

  * renames SignDataWithSessionToken/VerifyAccumulatedSignaturesWithToken
    function to SignRequestData/VerifyRequestData and makes it to use
    GroupSignedPayloads/GroupVerifyPayloads internally.
2020-06-10 20:37:10 +03:00
Leonard Lyubich
e01fb0cc62 Implement signed data calculating function from SignedDataReader 2020-05-11 17:28:44 +03:00
Leonard Lyubich
f91adcb560 container: implement SignedDataSource on ListRequest message 2020-05-11 15:57:00 +03:00
Leonard Lyubich
a41f22782b container: implement SignedDataSource on GetRequest message 2020-05-11 15:05:03 +03:00
Leonard Lyubich
eedb97d135 container: implement SignedDataSource on DeleteRequest message 2020-05-11 15:01:29 +03:00
Leonard Lyubich
2d53ebf9c4 container: implement SignedDataSource on PutRequest message 2020-05-11 14:37:16 +03:00
alexvanin
2fb36f8588 container: Support new BasicACL field 2020-04-02 15:44:18 +03:00
alexvanin
48c5588650 proto: Update proto library to v0.6.0 2020-04-02 15:15:59 +03:00
Evgeniy Kulikov
b118f469d2
Migrate to new repo 2020-03-31 10:05:26 +03:00
Evgeniy Kulikov
49cc731c8d
update proto files, regenerate pb.go 2020-02-05 16:58:06 +03:00
Evgeniy Kulikov
53af48372f
prepare to rename neofs-proto to neofs-api 2020-01-30 16:35:30 +03:00
Leonard Lyubich
6ad23612c9 Use expanded field naming in AccessGroup structure 2019-12-17 19:48:44 +03:00
Leonard Lyubich
7e6e30b850 Add unit tests for container access modes 2019-12-17 16:15:51 +03:00
Leonard Lyubich
6b6728356a Container access control type definitions 2019-12-17 15:47:54 +03:00
Evgeniy Kulikov
14f85ced84
service: get rid of signature field in container + proto generate 2019-11-26 15:54:27 +03:00
Evgeniy Kulikov
4efb4dafe8
Add ErrNotFound for container 2019-11-21 13:10:57 +03:00
Evgeniy Kulikov
24e5497b1d
Update develop branch 2019-11-21 13:10:57 +03:00
Evgeniy Kulikov
165dc9abd7
linter: fix doc comments issues 2019-11-21 13:01:08 +03:00
Evgeniy Kulikov
e333a13557
docs: regenerate proto files 2019-11-21 10:34:38 +03:00
Evgeniy Kulikov
3d445aeb0b
docs: add deprecation notice for epoch and ttl fields 2019-11-21 10:32:07 +03:00
Evgeniy Kulikov
15b997bdb5
docs: update proto doc comments to satisfy go-doc comment 2019-11-21 10:26:01 +03:00
alexvanin
0af63c42cc docs: regenerate proto files 2019-11-20 21:43:04 +03:00
alexvanin
ad86acf62f docs: add container proto documentation 2019-11-20 21:43:04 +03:00
Evgeniy Kulikov
1cf33e5ffd
initial 2019-11-18 16:34:06 +03:00