-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Currently the only sanity check that RemoteCalendar does is to reject responses larger than 10KB.
For submission, we should verify/filter the following:
-
PendingAttestationmatches expected whitelist (URL is unauthenticated!) - Number of
PendingAttestation's is reasonable - Hash operations are sane (exclusively SHA256?)
- Proof size is appropriate for merkle tree aggregation
- All attestations are known (maybe not a good idea for upgradability? e.g. a future trusted signature scheme could return valid attestations directly in response to a submission)
And when getting timestamps:
- Response does not include any
PendingAttestation's (allowing loops greatly complicates the logic) - Redundant attestations (e.g. two different bitcoin blocks)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels