diff --git a/session/container.go b/session/container.go index 789ec85b..d11ed863 100644 --- a/session/container.go +++ b/session/container.go @@ -199,7 +199,7 @@ func (x *Container) Sign(key ecdsa.PrivateKey) error { // // See also Sign. func (x Container) VerifySignature() bool { - // TODO: check owner<->key relation + // TODO: (#233) check owner<->key relation data, err := x.body.StableMarshal(nil) if err != nil { panic(fmt.Sprintf("unexpected error from Token.StableMarshal: %v", err)) diff --git a/session/object.go b/session/object.go index 338c3c43..74b1345d 100644 --- a/session/object.go +++ b/session/object.go @@ -200,7 +200,7 @@ func (x *Object) Sign(key ecdsa.PrivateKey) error { // // See also Sign. func (x Object) VerifySignature() bool { - // TODO: check owner<->key relation + // TODO: (#233) check owner<->key relation data, err := x.body.StableMarshal(nil) if err != nil { panic(fmt.Sprintf("unexpected error from Token.StableMarshal: %v", err))