Closed
Description
It looks like the spec doesn't say how to handle errors and edger cases.
For examples:
- incompatible curves (
keyAgreement
types in DID DOC) between sender and receiver - invalid data
- attacks (such as Need details about invalid curve and weak point attack resistance #217)
- the crypto algorithm that sender wants to use is not supported on the receiver side (in case when DID Comm spec is not fully supported on of the sides, or when new crypto is added to the spec).
It would be great if the spec can address some of this edge cases or provide a general strategy what to do in this cases: just terminate communication, send a specific error message, etc.