Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

need tests for DID Exchange / Connection Protocol  #3

@dhh1128

Description

@dhh1128

All of the following tests are needed.

  • An overly long invitation is rejected since it can't be turned into a QR code?
  • Agent can be either inviter or invitee.
  • A public DID can be used as an implicit invitation.
  • A connection resp that is not signed by the key used in the invitation generates a graceful error.
  • A connection resp sent before a connection req generates a graceful error.
  • A connection resp or connection req that uses a different thread from the previous message generates a graceful error.
  • A connection resp or req that uses the same thread as previous, but an inconsistent state (e.g., different DID Doc or endpoint) is rejected.
  • DID Docs with extra fields are handled.
  • DID Docs lacking required fields are rejected.
  • DID Docs lacking public keys of type {Ed25519|Secp256k1|RSA} are either handled fully, or generate a graceful error.
  • A plaintext version of a connection request or connection response is gracefully rejected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions