This repository was archived by the owner on Jun 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
need tests for DID Exchange / Connection Protocol #3
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers