Skip to content

Error handling and edge cases #229

Closed
@ashcherbakov

Description

@ashcherbakov

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.

Metadata

Metadata

Assignees

Labels

PR Neededv2.0necessary for spec completion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions