TBD54566975 / tbdex

56 stars 25 forks source link

Formalize http-client validating and verifying response data #218

Open diehuxx opened 8 months ago

diehuxx commented 8 months ago

Discord Context

Currently, TBDex http-client implementations neither validate JSON schema nor verify signature of TBDex messages/resources received in responses. We should:

  1. Formalize in the spec that http-client implementations MUST validate schema and verify signature.
  2. Add these checks to http-client implementations
  3. Create test vectors for http-client implementations which address these cases. Since the TBDex http api does not yet have test vectors, we may need to break that out into another issue.