Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DC4EU VC

This repo bundles the original DC4EU Verifiable Credential (VC) service at a fixed, known‑good version and spins it up via Docker containers. The gateway is exposed on port 9080, so external issuers (e.g. the EUDI Reference Issuer) can simply call the collect_id endpoint to pull stored documents.

Since the API‑Gateway handles all calls to the issuer, datastore, etc., we deploy the full DC4EU VC repo but only use the document/collect_id endpoint. A collect_id is a short‑lived reference to a document in the datastore; when queried with the matching identity, the corresponding document is returned.

We use the collect_id in our modified EUDI Reference Issuer, by including it in the credential offer and together with PID authentication, we can successfully query the DC4EU datastore.

Quickstart

  1. Clone this repo
git clone git@github.com:eudi-implementation/dc4eu-vc-minmod.git
  1. Start the service
cd dc4eu-vc-minmod
docker-compose up -d
  1. Retrieve Document

In your issuer, call http://your.local.ip.address:9080/api/v1/document/collect_id with a collect_id and the corresponding identity information. For more details, refer to the API Specification or the Swagger File.


Find the origianl README below


This repository consists of the source code for the DC4EU VC project, but also tools and make targets that's making sense for developers, please do not use for anything else.

Are you looking for running this, and need some sort of starting point, please take a look at https://github.com/dc4eu/vc_up_and_running

docker release version

latest tracks the latest tag available and is build from branch main.

branches

main is the stable development branch.

How to build

Docker

For convenience all services are build within a docker container.

Each service has its own make target, make docker-build-<service> or build all of them at once make docker-build

Static binary without Docker

run make build-<service> to build a specific service or make build to build all services.

linux/amd64 is consider supported, other build options may work.

Start, Stop & Restart

make start or docker-compose -f docker-compose.yaml up -d --remove-orphans

make stop or docker-compose -f docker-compose.yaml rm -s -f

make restart

Swagger

Endpoint

GET http://<apigw-url>/swagger/doc.json

or with web browser: http://<apigw-url>/swagger/index.html

About

Minimally modified version of DC4EU VC Repo

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages