forked from TrueCloudLab/frostfs-node
[#202] object/eacl: Fix algorithm for checking eACL table
Add SignWithRFC6979 option to signature verification function since eACL table are signed by users with this option. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
ad348afcd6
commit
f85e5f0238
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ func (s *morphStorage) GetEACL(cid *container.ID) (*eacl.Table, error) {
|
|||
func() ([]byte, []byte) {
|
||||
return sig.Key(), sig.Sign()
|
||||
},
|
||||
signature.SignWithRFC6979(),
|
||||
); err != nil {
|
||||
return nil, errors.Wrap(err, "incorrect signature")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue