Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

issue, request and receive w3c credentials #701

Merged

Conversation

etschelp
Copy link
Contributor

@etschelp etschelp commented Jan 14, 2022

First simple version that enables the BPA to issue, request and receive w3c credentials. It is backwards compatible with the existing UI and assumes that all w3c credentials are flat structures (same as Indy credentials). The issuer functionality is currently not exposed in the UI. The request functionality is available from the wallet when using the request verification feature on a document that is based on a ld-schema.

Step 5 of #564 (comment)

Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>

# Conflicts:
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/IssuerCredentialManager.java
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/AriesEventHandler.java
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/HolderCredentialManager.java
#	backend/pom.xml
@etschelp etschelp marked this pull request as draft January 14, 2022 15:28
@etschelp etschelp changed the title Feature/store ld credential receive and store ld credentials Jan 14, 2022
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>

# Conflicts:
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/api/aries/AriesCredential.java
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/activity/LabelStrategy.java
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/AriesEventHandler.java
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/credential/HolderCredentialManager.java
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/credential/IssuerCredentialManager.java
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/persistence/model/BPACredentialExchange.java
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/persistence/model/BPASchema.java
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/persistence/repository/BPASchemaRepository.java
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/persistence/repository/HolderCredExRepository.java
#	backend/business-partner-agent/src/test/java/org/hyperledger/bpa/impl/activity/LabelStrategyTest.java
#	backend/business-partner-agent/src/test/java/org/hyperledger/bpa/persistence/repository/IssuerCredExRepositoryTest.java
#	backend/pom.xml
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>

# Conflicts:
#	backend/business-partner-agent/src/main/java/org/hyperledger/bpa/impl/aries/credential/IssuerCredentialManager.java
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
@etschelp etschelp changed the title receive and store ld credentials basic json-ld issuer/holder implemantation Feb 7, 2022
@etschelp etschelp changed the title basic json-ld issuer/holder implemantation basic json-ld issuer/holder implementation Feb 7, 2022
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
…e offer

Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
…ef if type not indy

Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
…splaying trusted issuer tab in UI for LD schemas again. Added possibility to add a did:key as a trusted issuer. Using configured did:key when holder.

Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
… highlighting default attribute name in manage schemas, - ld attribute validation on document create/update

Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
@etschelp etschelp marked this pull request as ready for review February 21, 2022 12:36
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
@etschelp etschelp changed the title basic json-ld issuer/holder implementation issue, request and receive w3c credentials Feb 22, 2022
@etschelp etschelp merged commit 41a2fe3 into hyperledger-labs:main Feb 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant