diff --git a/session/container.go b/session/container.go index 789ec85..d11ed86 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 338c3c4..74b1345 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))