Open dlongley opened 4 months ago
The group discussed this on the 2024-07-23 call:
@dlongley noted that starting an exchange only supports accepting an empty object. We need to support an exchange providing information on what cryptosuites and envelopes it might support (at a minimum), but more generally, we need to support sending an arbitrary VPR so the server can know what to send.
Raise a PR that modifies the OAS to allow an arbitrary VPR to be sent from the client to the server.
In the examples, each with VPR should accept any VC that will have one or more matching cryptosuites, per "acceptedCryptosuites", or one matching envelope per "acceptedEnvelopes".
The example should show that a client (e.g., wallet) can start an exchange (if the server supports it) by sending a VPR indicating what they will accept instead of an empty object (
{}
):