Skip to content

european-epc-competence-center/vc-verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tests Building All Containers

VC Verifier

The EECC VC Verifier for Verifiable Credentials (VCs) provides a verification API as well as the corresponding UI. Its primary purpose is to aggregate data from various VCs and display them in a comprehensible manner as a product passport. See here for an example.

This tool uses the libraries by Digital Bazaar, Inc., in particular

in order to verify signatures of W3C conformal verifiable credentials in JSON-LD form.

Functionalities

Credential Selection

  1. Upload credential

    Uploading credentials als files must be done in form of verifiables, i.e. the plain credential or a credential presentation. The upload can consist of multiple files and their content can be both single verifiables or arrays of verifiables.

  2. Reference credential

    The given credential id URI must resolve to the credential itself. If so, the credential gets fetched and then verified.

  3. Query credentials

    When passing an IRI/URI of a credential subject into the credential subject field, the verifier service queries the predefined verifiable credential registry. All found credentials associated with the given subject id will get verified and presented according to the credential context.

When using the scanner option to transfer the data, the service will start the verification right away without further user interaction.

Select view

Verification

Credential

When a credential gets verified, the verifier service checks the signature over the credential using the issuer's public key. Further it checks, if the credential has been revoked in case it is revokable. If both holds true, the credential is displayed as verified (see below)

Select view

Presentation

Verification of a presentation includes the full verification of the contained credentials as such, as well as the verification of the presentation itself. Both verifications are separate operations, i.e. a successfully verified presentation can contain revoked, but no unverified credentials.

Select view

Credential Retrieval

Each credential can be obtained in various ways using the buttons at the bottom right of the particular credential. It can either be downloaded as a rendered PDF file, as pure data in JSON format or as a QR-Code image.

Examples

License

Copyright 2022 European EPC Competence Center GmbH (EECC). Corresponding Author: Christian Fries christian.fries@eecc.de

AGPLV3

All code published in this repository is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.