This is a DID Auth relying party that can verify incoming DID Auth messages expressed as Verifiable Credentials based on Decentralized Identifiers.
- Decentralized Identifiers (DIDs)
- DID Auth
- Verifiable Credentials
- Linked Data Signatures
- Linked Data Cryptographic Suites
- verifiable-credentials-java - MIT
- ld-signatures-java - MIT
- jsonld-java - BSD-3-Clause
- universal-resolver-java - Apache-2.0
Under development for a BCDevExchange opportunity. Note that the underlying technologies (DIDs, DID Auth, Verifiable Credentials) are still heavily evolving.
All repositories related to this project:
- https://github.com/bcgov/did-auth-extension - A DID Auth browser add-on
- https://github.com/bcgov/did-auth-relying-party - A DID Auth relying party (this repository)
- https://github.com/bcgov/http-did-auth-proxy - A DID Auth HTTP proxy
Architecture: architecture.md
Scenarios: scenarios.md
DID Auth relying party sample deployment: https://did-auth-relying-party.danubetech.com/
First, build the following Maven dependencies:
- https://github.com/WebOfTrustInfo/ld-signatures-java
- https://github.com/TrustNetFI/verifiable-credentials-java
- https://github.com/WebOfTrustInfo/txref-conversion-java.git
- https://github.com/decentralized-identity/universal-resolver.git
Build with Maven:
mvn clean install jetty:run
Build and run with Docker:
docker build -f ./Dockerfile -t did_auth_relying_party .
docker run -ti -p 8080:8080 did_auth_relying_party:latest
To report bugs/issues/feature requests, please file an issue.
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.
Copyright 2018 Province of British Columbia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.