From 891ba27edec4b9c8c2a44c8df3b79b51d49a63bc Mon Sep 17 00:00:00 2001 From: Evgeniy Kulikov Date: Thu, 5 Dec 2019 14:30:08 +0300 Subject: [PATCH 1/2] service: get rid of proto.Message in Maintainable/Verifiable requests --- service/verify.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/service/verify.go b/service/verify.go index 48e2871..8571459 100644 --- a/service/verify.go +++ b/service/verify.go @@ -3,7 +3,6 @@ package service import ( "crypto/ecdsa" - "github.com/gogo/protobuf/proto" crypto "github.com/nspcc-dev/neofs-crypto" "github.com/nspcc-dev/neofs-proto/internal" "github.com/nspcc-dev/neofs-proto/refs" @@ -13,7 +12,6 @@ import ( type ( // VerifiableRequest adds possibility to sign and verify request header. VerifiableRequest interface { - proto.Message Marshal() ([]byte, error) AddSignature(*RequestVerificationHeader_Signature) GetSignatures() []*RequestVerificationHeader_Signature @@ -23,7 +21,6 @@ type ( // MaintainableRequest adds possibility to set and get (+validate) // owner (client) public key from RequestVerificationHeader. MaintainableRequest interface { - proto.Message GetOwner() (*ecdsa.PublicKey, error) SetOwner(*ecdsa.PublicKey, []byte) GetLastPeer() (*ecdsa.PublicKey, error) From 1f22bcc9c118e15a6628eac1b2bc803a8010e4ee Mon Sep 17 00:00:00 2001 From: Evgeniy Kulikov Date: Thu, 5 Dec 2019 14:45:40 +0300 Subject: [PATCH 2/2] CHANGELOG --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a039d13..77ba22c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog This is the changelog for NeoFS Proto +## [0.2.5] - 2019-12-05 + +### Removed +- proto.Message in Maintainable/Verifiable requests + ## [0.2.4] - 2019-12-03 ### Added @@ -60,3 +65,4 @@ Initial public release [0.2.2]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.1...v0.2.2 [0.2.3]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.2...v0.2.3 [0.2.4]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.3...v0.2.4 +[0.2.5]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.4...v0.2.5