Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vc-api design and requirements #108

Open
OR13 opened this issue Nov 3, 2021 · 0 comments
Open

vc-api design and requirements #108

OR13 opened this issue Nov 3, 2021 · 0 comments

Comments

@OR13
Copy link
Sponsor Member

OR13 commented Nov 3, 2021

Abstract

We want a shared code base for implementing the vc-api , using libraries in this repo.

We want this code base to expose a docker and bare metal api that can be configured to expose cryptographic capabilities in an extensible manner, such that a standard build process can deploy a secured instance of the api that is unique per vendor (no key or auth-reuse, no bundling of keys for demo purposes).

Requirements

API Documentation

The documentation for the API SHALL be OAS3.0 and shall include security configuration associated with authentication and authorization.

API Features

The API SHALL support all defined http endpoints and schemas associated with the vc-api.

This includes stateful operations such as revocation and presentation exchange.

This implies database integrations and associated security considerations.

The API SHALL support did:key and did:web.

The API SHALL support well known did configuration.

The API SHALL support extensibility mechanisms for securely exposing key based capabilities, such as signing.

Testing

The API SHALL be testable in CI using github actions.

Conformance tests shall cover all exposed endpoints and all supported did methods.

The API SHALL cover all "credentials of interests" as defined in the traceability use cases and requirements section here:

https://w3c-ccg.github.io/traceability-vocab/#use-cases-and-requirements

The API SHALL expose digital bazaar libraries for testing in CI as part of conformance testing, using a facade pattern. This is to ensure that all test vectors associated with API conformance have been evaluated by at least 2 independent implementations.

Existing implementations:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant