From 80e8ab014bebab27ddb0fb88ef3db79359cb810e Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Fri, 15 May 2020 15:29:15 +0300 Subject: [PATCH] service: add OwnerKey byte field to TokenInfo message --- proto-docs/service.md | 1 + service/verify.proto | 3 +++ 2 files changed, 4 insertions(+) diff --git a/proto-docs/service.md b/proto-docs/service.md index f62ab55..423599b 100644 --- a/proto-docs/service.md +++ b/proto-docs/service.md @@ -126,6 +126,7 @@ User token granting rights for object manipulation | Address | [refs.Address](#refs.Address) | | Address is an object address for which token is issued | | Lifetime | [TokenLifetime](#service.TokenLifetime) | | Lifetime is a lifetime of the session | | SessionKey | [bytes](#bytes) | | SessionKey is a public key of session key | +| OwnerKey | [bytes](#bytes) | | OwnerKey is a public key of the token owner | diff --git a/service/verify.proto b/service/verify.proto index ed360be..a6619a6 100644 --- a/service/verify.proto +++ b/service/verify.proto @@ -63,6 +63,9 @@ message Token { // SessionKey is a public key of session key bytes SessionKey = 6; + + // OwnerKey is a public key of the token owner + bytes OwnerKey = 7; } // TokenInfo is a grouped information about token