You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SignMessge takes in an arbitrary length message bytes and hashes it before signing. In my opinion, sining is never done by the client so it's not as much of a threat.
On the other hand, the general procedure of unmarshalling metadata should come with JSON size limits. Client fetchers may already do this.
The text was updated successfully, but these errors were encountered:
It's not likely to be a large metadata file, but should we watch out for it?
Originally posted by @trishankatdatadog in #357 (comment)
See here:
go-tuf/pkg/keys/keys.go
Line 57 in 4febe4c
SignMessge
takes in an arbitrary length message bytes and hashes it before signing. In my opinion, sining is never done by the client so it's not as much of a threat.On the other hand, the general procedure of unmarshalling metadata should come with JSON size limits. Client fetchers may already do this.
The text was updated successfully, but these errors were encountered: