bcgov / mines-digital-trust

This repo has been archived, see https://github.com/bcgov/traction/

Home Page:https://digital.gov.bc.ca/digital-trust/tools/traction-accelerator-api/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License Lifecycle:Retired Maintainability Test Coverage

This project has been archived

This repository no longer be maintained and has been replaced by Traction.

The GitHub Pages site hosted here has been replaced and aligned with the CITZ Digital Trust site

Mines-Digital-Trust, Permit Issuer/Controller for Aries VCR

This repository is based on the Aries VCR Issuer Controller template for creating an Aries Verifiable Credential Registry (VCR) Issuer Agent. Aries VCR is the foundational technology upon which the Government of British Columbia's OrgBookBC was built. Aries VCR Issuer Controller is a starter kit for building an Aries agent that issues verifiable credentials to instances of an Aries VCR, such as OrgBookBC. This repo contains code for an issuer controller that works with Aries Cloud Agent Python (ACAPy) framework. The controller and an instance of ACA-Py can be deployed together to implement an Aries issuer agent.

aries-vcr-issuer-controller was developed as part of the Verifiable Organizations Network (VON). For more information on VON, visit https://vonx.io. Even better, join in with what we are doing and contribute to VON and the Trust over IP community.

Still not sure what this is? Please see this Getting started with VON overview, paying particular attention to the VON Issuer/Verifier Agent section. That's what this repo implements.

Terminology

Permit Issuer/Controller or Agent

Aries Agents consist of two parts, a framework that handles all of the Aries agent type functions (e.g. messages, protocols, protocol state, agent storage, etc.) and a controller that provides the business logic that gives the agent personality. As such, we talk about the code in this repo as the Controller. When the controller code is deployed along with an instance of an agent framework—ACA-Py—we have an Aries VCR Issuer agent. As such, in this repo we might talk about the code in this repo (the Permit Issuer/Controller), or talk about a deployed and running Aries VCR Issuer Agent.

Make sense?

Aries VCR vs. OrgBook

A question we often get is what's the difference between OrgBook and Aries VCR? Here are the details.

The OrgBook is a specific instance of Aries VCR about registered organizations within a legal jurisdiction (e.g. province, state or nation). Each entity in an OrgBook is a registered organization (a corporation, a sole proprietorship, a co-op, a non-profit, etc.), and all of the verifiable credentials within an OrgBook repository relate to those registered organizations.

So while OrgBook is an instance of the Aries VCR software, Aries VCR itself knows nothing about jurisdictions, registered organizations, etc. As a result can be used in many credential registry use cases. If the entities within an Aries VCR instance were doctors, then the verifiable credentials would all be about those doctors, and we'd have "DocBook". Same with engineers, lawyers, teachers, nurses and more. If an Aries VCR instance had construction sites as top level entities, the verifiable credentials would all be about those construction sites, such as permits, contractors, contracts, payments and so on.

Aries VCR knows about verifiable credentials, how to hold them, prove them and how to make the available for searching based on the values in the claims. What is in those credentials is up to the issuers that issue to that instance of an Aries VCR.

We often talk about the OrgBook being a repository of public credentials, and that OrgBook is publicly searchable. However, instances of Aries VCR do not have to contain public credentials and the website does not have to be publicly accessible. An organization could implement an instance of an Aries VCR, load it with with credentials containing proprietary data and wrap it with a mechanism to allow only authorized entities to access the data.

Getting Started

Use this Permit Issuer/Controller Getting Started Tutorial to go through the basics of running the Permit Issuer Agent created from the Aries VCR Issuer Controller template.

Configuration Guide

Much of the work in configuring an the Permit Issuer Agent is in setting up the YAML files in the services/ghg-orgbook-issuer-controller/config folder. A Configuration Guide documents those files.

Getting Help or Reporting an Issue

To report bugs/issues/feature requests, please file an issue.

How to Contribute

If you find this project helpful, please contribute back to the project. If you would like to contribute, please see our CONTRIBUTING guidelines. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

About

This repo has been archived, see https://github.com/bcgov/traction/

https://digital.gov.bc.ca/digital-trust/tools/traction-accelerator-api/

License:Apache License 2.0


Languages

Language:Python 89.6%Language:Shell 9.4%Language:Dockerfile 1.0%