Closed dhh1128 closed 4 years ago
Similar to what I asked in #15 about whether 'services' might be a better abstraction than REST for issuance:
Could each of these verify steps be defined as discrete services (or 'microservices' or functions), each with their own API? Thereby allowing the steps to be combined together as appropriate for a given project, and varying the implementation of each function as appropriate for the project?
And again, like with issuance, I'm imagining something like a set of NPM packages, one per 'step' or function.
The packages could still make HTTP calls (e.g., to check revocation status), but that would be encapsulated within the package.
I need to move this to the verifier API; I mistakenly logged it against the issuer API instead. I will copy my original comment and @jchartrand 's follow-up over to a new issue in the right place.
Superseded by https://github.com/w3c-ccg/vc-verifier-http-api/issues/6. Closing here.
Several things that a verifier does when evaluating a verifiable presentation are possibly intended by the verb "verify." We need to be crisp about which are in and out of scope for our API.
How many of these do we expect our verification API to support? And how do we distinguish between them when reporting errors?