Alex Vanin
746419e85f
Implement signature interface in request headers
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:40:14 +03:00
Alex Vanin
4a6ea486f7
Implement signature interface for container put request
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:40:10 +03:00
Alex Vanin
0ae952fcc6
Add stable marshal of meta & verify headers
...
It uses unstable implementation for now.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:40:07 +03:00
Alex Vanin
c37fca9e0d
Add stable marshal for container structure
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:40:04 +03:00
Alex Vanin
18df156e61
Add stable marshal for owner id
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:40:02 +03:00
Alex Vanin
696e263e4d
Add stable marshal for placement rule
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:39:58 +03:00
Leonard Lyubich
297212886d
service: Add updated Sign/Verify mechanism
2020-09-18 10:39:58 +03:00
Alex Vanin
ea7c6a22da
Ignore vendor dir in prepare structure script
2020-09-18 10:39:54 +03:00
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
Alex Vanin
ed7879a89e
Add script to prepare multiversion structure
2020-09-18 10:39:37 +03:00
Leonard Lyubich
ad0213d256
Merge tag 'v1.3.0' into develop
...
Release v1.3.0
2020-07-23 17:59:32 +03:00
Leonard Lyubich
64c941ae06
Merge branch 'release/1.3.0'
2020-07-23 17:59:24 +03:00
Leonard Lyubich
e5ded9cd0f
Update changelog and readme for v1.3.0
2020-07-23 17:59:06 +03:00
Leonard Lyubich
78fdc7a787
Merge pull request #101 from nspcc-dev/refactor-acl-package
...
acl: refactor the package
2020-07-23 17:05:53 +03:00
Leonard Lyubich
befb34a9ff
acl: refactor the package
...
This commit:
* replaces the wrappers of the messages to eacl sub-package;
* renames Target to Group in eacl package;
* defines Group constants;
* replaces EACLTable message marshaler (unmarshaler) with custom MarshalTable
(UnmarshalTable) of the Table.
2020-07-23 14:51:21 +03:00
Alex Vanin
630ac612ea
Merge pull request #100 from nspcc-dev/neo3/address
...
Use NEO3 based address generation
2020-07-21 18:52:20 +03:00
alexvanin
1958ff8c37
Use NEO3 based address generation
...
With neo-go v0.90.0 there are new event subscription component
and new verification script routines based on NEO3. These features
allow to avoid using low-level neo-vm code in NeoFS and corresponding
projects.
This commit removes unused function:
- FetchPublicKeys (used in neofs indexer),
- VerificationScript (used in KeysToAddress),
- Address (used in KeysToAddress),
- ReversedScriptHashToAddress (used in neofs indexer),
- IsAddress (used in neofs indexer),
- ReverseBytes (used in neofs indexer),
- DecodeScriptHash (used in neofs indexer).
KeysToAddress changed into KeyToAddress because NeoFS won't work with
multisignature owners for now and it is not supported in neo-go library.
2020-07-20 16:43:31 +03:00
Alex Vanin
8cb9ac0528
Merge pull request #97 from nspcc-dev/ImplementingProtoClone
...
Implementing proto.Clone
2020-07-17 18:19:54 +03:00
Leonard Lyubich
3dff202073
Merge tag 'v1.2.0' into develop
...
Release v1.2.0
2020-07-08 11:10:05 +03:00
Leonard Lyubich
3cc34a823f
Merge branch 'release/1.2.0'
2020-07-08 11:09:56 +03:00
Leonard Lyubich
2bf5a0c30b
Update changelog and readme for v1.2.0
2020-07-08 11:09:29 +03:00
Leonard Lyubich
123837af93
Merge pull request #99 from nspcc-dev/feature/upgrade-to-api-v1.2.0
...
Update to neofs-api v1.2.0
2020-07-08 10:56:22 +03:00
Leonard Lyubich
504804f806
Update to neofs-api v1.2.0
2020-07-08 10:50:58 +03:00
Leonard Lyubich
494a52c35a
Merge pull request #98 from nspcc-dev/eacl-addition
...
Add a rich functionality of management of NeoFS extended ACL
2020-07-08 10:04:05 +03:00
Pavel Korotkov
2fba8cb7b3
acl: make MatchType's constants public back
2020-07-08 01:10:07 +03:00
Pavel Korotkov
f826517207
acl: delete unused types
2020-07-08 01:09:54 +03:00
Pavel Korotkov
d0f56e5044
acl: reorganize files
2020-07-08 01:09:46 +03:00
Pavel Korotkov
0db55d31ae
acl: remove tests
2020-07-08 01:09:36 +03:00
Pavel Korotkov
ec4fb22e30
acl: fix an erroneous method name in comments
2020-07-08 01:09:21 +03:00
Pavel Korotkov
1dd4d48b5f
alc: add a rich functionality to manage Extended ACL
2020-07-08 01:08:53 +03:00
Evgeniy Kulikov
d45548c43b
Implementing proto.Clone
2020-07-03 09:17:35 +03:00
Alex Vanin
4fadb5040b
Merge pull request #96 from nspcc-dev/feature/matryoshka-signatures
...
service: sign requests on the principle of Matryoshka
2020-06-24 14:33:01 +03:00
Leonard Lyubich
5e1e220988
service: sign requests on the principle of Matryoshka
...
This commit changes SignRequestData / VerifyRequestData functions to
add the list of previous public keys to a signed message for all
requests.
2020-06-22 17:26:59 +03:00
Leonard Lyubich
ce4513ce54
Merge tag 'v1.1.0' into develop
...
Release v1.1.0
2020-06-18 17:26:27 +03:00
Leonard Lyubich
2456521240
Merge branch 'release/1.1.0'
2020-06-18 17:26:15 +03:00
Leonard Lyubich
d3984cf236
Update changelog and readme for v1.1.0
2020-06-18 17:25:39 +03:00
Leonard Lyubich
6b5f81f205
Merge pull request #95 from nspcc-dev/support-eacl-signed-payload
...
container: implement SignedDataSource interface on EACL messages
2020-06-18 16:32:39 +03:00
Leonard Lyubich
03bc5c5f89
container: implement SignedDataSource interface on EACL messages
2020-06-18 16:26:44 +03:00
Leonard Lyubich
6cbf6562c6
Merge pull request #94 from nspcc-dev/implement-bearer-interface-on-message
...
service: implement BearerToken interface on BearerTokenMsg message
2020-06-18 16:12:15 +03:00
Leonard Lyubich
a3c4889945
service: implement BearerToken interface on BearerTokenMsg message
...
This commit:
* implements (Set)ExpirationEpoch methods on BearerTokenMsg;
* removes BearerTokenMsg wrapper.
2020-06-18 16:08:44 +03:00
Leonard Lyubich
42956686f6
Merge pull request #93 from nspcc-dev/add-x-headers-to-request-data
...
Add X-headers to request data
2020-06-18 15:53:32 +03:00
Leonard Lyubich
c360b7d19c
service: add ExtendedHeader list to signed payload of the requests
2020-06-18 15:50:01 +03:00
Leonard Lyubich
db53e2ea39
service: make RequestData to provide ExtendedHeadersSource interface
2020-06-18 15:47:55 +03:00
Leonard Lyubich
2bef390cc6
Merge pull request #92 from nspcc-dev/add-bearer-token-to-request-data
...
Add bearer token to signed request data
2020-06-18 15:40:33 +03:00
Leonard Lyubich
a3569ad99e
service: ad BearerToken to signed payload of the requests
2020-06-18 15:28:58 +03:00
Leonard Lyubich
3f7d3f8a86
service: make RequestData to provide BearerTokenSource interface
2020-06-18 15:24:17 +03:00
Alex Vanin
ce5264a479
Merge pull request #91 from nspcc-dev/update-to-api-v1.1.0
...
Update to neofs-api v1.1.0
2020-06-18 15:21:33 +03:00
Leonard Lyubich
ee584f325c
Update to neofs-api v1.1.0
2020-06-18 15:01:25 +03:00
Leonard Lyubich
fe6672d480
Merge pull request #90 from nspcc-dev/feature/x-headers-definition
...
service: define request X-headers interface
2020-06-18 14:44:47 +03:00