Commit Graph

1204 Commits (v2.15.0)

Author SHA1 Message Date
Leonard Lyubich 9b0757c6b1 Merge branch 'release/0.7.6' 2020-05-19 13:29:46 +03:00
Leonard Lyubich 114144646b Update changelog for v0.7.6 2020-05-19 13:29:27 +03:00
Leonard Lyubich e183188239
Merge pull request #85 from nspcc-dev/object-intergrity-header-signed-payload
object: implement SignedData() and AddSignKey() methods on IntegrityH…
2020-05-18 16:54:22 +03:00
Leonard Lyubich 96a6bb4842 object: implement SignedData() and AddSignKey() methods on IntegrityHeader 2020-05-18 16:51:59 +03:00
Leonard Lyubich ab796b81d2
Merge pull request #84 from nspcc-dev/session-refactor-private-token
session: refactor PrivateToken interface
2020-05-18 16:49:31 +03:00
Leonard Lyubich 291d512840 session: implement function for receiving session public key bytes
After recent changes PrivateToken cannot directly return public key
bytes. In order to provide this ability, this commit implements
a function over PrivateToken interface.
2020-05-18 16:47:15 +03:00
Leonard Lyubich af28735ca6 session: change PrivateToken interface methods
This commit replaces PublicKey() and SignData() methods of PrivateToken
with PrivateKey() in order to have the ability to sign data with
session key using service package functions.
2020-05-18 16:47:15 +03:00
Leonard Lyubich ba27e296c3
Merge pull request #83 from nspcc-dev/object-fix-headrequest-signed-data
object: fix signed payload calculation of HeadRequest message
2020-05-18 16:46:27 +03:00
Leonard Lyubich 1931bd590d object: fix signed payload calculation of HeadRequest message
In previous implementation first byte of buffer for HeadRequest
signed payload was set to 1 if FullHeaders flag was set. Otherwise,
this byte remained unchanged. For correct recording of a signed payload,
it is necessary to explicitly set the first byte with the unset flag.
2020-05-18 12:58:49 +03:00
Leonard Lyubich 2c571718d0 object: add unit test of HeadRequest.ReadSignedData method 2020-05-18 12:58:49 +03:00
Leonard Lyubich d391421e5e
Merge pull request #82 from nspcc-dev/token-add-sign-key-change
Change AddSignKey of SessionToken
2020-05-18 12:58:32 +03:00
Leonard Lyubich bd261cf566 service: call OwnerKey setter in AddSignKey method implementation 2020-05-16 15:29:44 +03:00
Leonard Lyubich 22af538c98 Revert "service: add owner key to a signed payload of SessionToken"
This reverts commit 1896264f
2020-05-16 15:28:35 +03:00
Leonard Lyubich abbb6e0e93 Merge tag 'v0.7.5' into develop
Release v0.7.5
2020-05-16 14:39:54 +03:00
Leonard Lyubich 40ef55524a Merge branch 'release/0.7.5' 2020-05-16 14:39:46 +03:00
Leonard Lyubich 5b50c8000c Update changelog for v0.7.5 2020-05-16 14:39:21 +03:00
Alex Vanin a82a2e1f57
Merge pull request #81 from nspcc-dev/service-token-owner-key
Update to neofs-api v0.7.5
2020-05-15 16:48:08 +03:00
Leonard Lyubich 1896264f8c service: add owner key to a signed payload of SessionToken 2020-05-15 16:05:02 +03:00
Leonard Lyubich bc413f6280 service: defined OwnerKeyContainer and embed it to SessionInfo interface 2020-05-15 16:03:47 +03:00
Leonard Lyubich c8625b2c86 Update to neofs-api v0.7.5 2020-05-15 16:00:02 +03:00
Leonard Lyubich 2a926b6f1f
Merge pull request #80 from nspcc-dev/signed-session-token
service: implement SessionToken wrapper for Sign/Verify support
2020-05-14 13:23:06 +03:00
Leonard Lyubich 0b5c4299aa service: implement SessionToken wrapper for Sign/Verify support 2020-05-13 19:02:13 +03:00
Leonard Lyubich 67d0def92f Merge tag 'v0.7.4' into develop
Release v0.7.4
2020-05-12 11:08:36 +03:00
Leonard Lyubich 841f261e09 Merge branch 'release/0.7.4' 2020-05-12 11:08:25 +03:00
Leonard Lyubich 798c3ae658 Update changelog for v0.7.4 2020-05-12 11:08:03 +03:00
Leonard Lyubich f85f8c5830
Merge pull request #79 from nspcc-dev/remove-old-sign-verify-functions
service: remove no longer used Sign/Verify methods and functions
2020-05-12 10:54:23 +03:00
Leonard Lyubich 877db6be32 service: remove no longer used Sign/Verify methods and functions 2020-05-12 10:45:03 +03:00
Leonard Lyubich 18bd5011f1
Merge pull request #78 from nspcc-dev/request-signed-payload
Implement SignedDataSource on all request messages
2020-05-12 10:35:01 +03:00
Leonard Lyubich b2543c0739 fix comments 2020-05-11 17:44:59 +03:00
Leonard Lyubich e01fb0cc62 Implement signed data calculating function from SignedDataReader 2020-05-11 17:28:44 +03:00
Leonard Lyubich ab198b4049 state: implement SignedDataSource on ChangeStateRequest message 2020-05-11 16:31:39 +03:00
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