Commit graph

1173 commits

Author SHA1 Message Date
Leonard Lyubich
5545b25a95 state: implement SignedDataSource on DumpVarsRequest message 2020-05-11 16:16:54 +03:00
Leonard Lyubich
603db9c325 state: implement SignedDataSource on DumpRequest message 2020-05-11 16:15:31 +03:00
Leonard Lyubich
ea12eabaf6 state: implement SignedDataSource on HealthRequest message 2020-05-11 16:14:29 +03:00
Leonard Lyubich
df9a04e542 state: implement SignedDataSource on MetricsRequest message 2020-05-11 16:11:17 +03:00
Leonard Lyubich
539e93e558 state: implement SignedDataSource on NetmapRequest message 2020-05-11 16:10:08 +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
Leonard Lyubich
9327c5f816 bootstrap: implement SignedDataSource on Request message 2020-05-11 13:57:23 +03:00
Leonard Lyubich
3fb293543f accounting: implement SignedDataSource on DeleteRequest message 2020-05-11 13:29:04 +03:00
Leonard Lyubich
81f537cda8 accounting: implement SignedDataSource on ListRequest message 2020-05-11 13:20:58 +03:00
Leonard Lyubich
8c492a7712 accounting: implement SignedDataSource on PutRequest message 2020-05-11 13:14:31 +03:00
Leonard Lyubich
6832d71d48 accounting: implement SignedDataSource on GetRequest message 2020-05-11 12:54:21 +03:00
Leonard Lyubich
b9d30d6138 accounting: implement SignedDataSource on BalanceRequest message 2020-05-11 11:59:39 +03:00
Alex Vanin
b6e6aa7238
Merge pull request #77 from nspcc-dev/fix-object-token-copy
object: add Token header case to CopyTo
2020-05-08 15:35:51 +03:00
Leonard Lyubich
dd2f568347 object: add Token header case to CopyTo 2020-05-08 15:06:26 +03:00
Leonard Lyubich
87d0efaad2
Merge pull request #76 from nspcc-dev/private-token-key-owner
session: add OwnerID to a private token storage key
2020-05-08 13:39:37 +03:00
Leonard Lyubich
af73d958a1 session: add OwnerID to a private token storage key 2020-05-08 13:23:30 +03:00
Leonard Lyubich
3b13da0fef
Merge pull request #75 from nspcc-dev/update-api-v0.7.4
Update to neofs-api v0.7.4
2020-05-08 13:17:53 +03:00
Leonard Lyubich
15a55d54a2 fix comments 2020-05-08 12:45:16 +03:00
Leonard Lyubich
2c2150b101 session: move errors to a separate file 2020-05-08 12:37:56 +03:00
Leonard Lyubich
b079a7604f session: implement gRPC session creator 2020-05-08 12:34:16 +03:00
Leonard Lyubich
6d71ea239b session: implement SignedDataSource on CreateRequest 2020-05-08 11:55:19 +03:00
Leonard Lyubich
1932658a7d session: implement getters and setters on messages 2020-05-08 11:53:49 +03:00
Leonard Lyubich
d8cc00b54c Update to neofs-api v0.7.4 2020-05-08 10:49:23 +03:00
Leonard Lyubich
2abcfb7219
Merge pull request #74 from nspcc-dev/service-package-refactoring
Service package refactoring
2020-05-07 15:32:08 +03:00
Leonard Lyubich
65d7c39e1a service: fix comments 2020-05-06 15:32:13 +03:00
Leonard Lyubich
4aac4d093d object: implement signing payload methods on SearchRequest message 2020-05-06 15:09:31 +03:00
Leonard Lyubich
84671cd4aa object: implement signing payload methods on GetRangeHashRequest message 2020-05-06 14:58:29 +03:00
Leonard Lyubich
e784206032 object: implement signing payload methods on GetRangeRequest message 2020-05-06 14:38:39 +03:00
Leonard Lyubich
fc0da3c8fc object: implement signing payload methods on DeleteRequest message 2020-05-06 14:15:07 +03:00
Leonard Lyubich
68f83f5470 object: implement signing payload methods on HeadRequest message 2020-05-06 13:56:59 +03:00
Leonard Lyubich
439221cea8 object: implement signing payload methods on GetRequest message 2020-05-06 13:33:03 +03:00
Leonard Lyubich
78f435a905 object: implement signing payload methods on PutRequest message 2020-05-06 13:16:15 +03:00
Leonard Lyubich
082edf7456 service: implement sign-verify methods on RequestVerificationHeader 2020-05-06 12:50:15 +03:00
Leonard Lyubich
52d3c82776 service: implement sign/verify function for data with session token 2020-05-06 11:44:55 +03:00
Leonard Lyubich
fc2c78ae89 service: use new function for token signing and verification 2020-05-05 14:49:35 +03:00
Leonard Lyubich
74144f207a service: implement functions for verification of signatures 2020-05-05 13:16:21 +03:00
Leonard Lyubich
f3e6caf7e7 service: implement a function for creating and storing a signature 2020-05-04 19:33:18 +03:00
Leonard Lyubich
0ffb1bd61d service: implement a function for signing data 2020-05-04 18:52:56 +03:00
Leonard Lyubich
eb94cf7549 service: refactor MetaHeader interface 2020-05-04 14:37:14 +03:00
Leonard Lyubich
c38a8eddc8 service: use value container interfaces 2020-05-04 14:05:06 +03:00
Leonard Lyubich
8270245455 service: transfer public types to a separate file 2020-05-04 14:00:25 +03:00
Leonard Lyubich
b785eb710a service: transfer TTL code to a separate file 2020-05-04 13:38:27 +03:00
Leonard Lyubich
fc177c4ce3 service: change constant errors
This commit:

  * moves defined errors to a separate file;

  * renames ErrEmptyToken to ErrNilToken;

  * merges ErrZeroTTL and ErrIncorrectTTL into single ErrInvalidTTL.
2020-05-04 13:06:36 +03:00
Leonard Lyubich
e3cab218dc
Merge pull request #73 from nspcc-dev/session-private-token-expiration
session: support the expiration of private tokens
2020-04-29 14:54:43 +03:00
Leonard Lyubich
4fa7360cd1 session: support the expiration of private tokens
All sessions in NeoFS has limited in epochs lifetime. There is a need
to limit the lifetime of private session tokens.

This commmit:

  * extends PrivateToken interface with Expired method;

  * defines EpochLifetimeStore interface with RemoveExpired method
    and embeds it to PrivateTokenStore interface;

  * adds epoch value parameter to private token constructor.
2020-04-29 14:11:19 +03:00
Leonard Lyubich
8cbdb9183f
Merge pull request #72 from nspcc-dev/session-refactor
Session package refactoring
2020-04-29 13:14:17 +03:00
Leonard Lyubich
ffd4338eb3 session: fix NewPrivateToken function doc 2020-04-29 12:59:58 +03:00