forked from TrueCloudLab/frostfs-api-go
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.
This commit is contained in:
parent
ce4513ce54
commit
5e1e220988
4 changed files with 103 additions and 16 deletions
|
@ -262,6 +262,7 @@ type RequestData interface {
|
|||
type RequestSignedData interface {
|
||||
RequestData
|
||||
SignKeyPairAccumulator
|
||||
SignKeyPairSource
|
||||
}
|
||||
|
||||
// RequestVerifyData is an interface of request information with signature read access.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue