Skip to content

Commit

Permalink
chore: remove wrong configuration and add the revocation list to the …
Browse files Browse the repository at this point in the history
…status plugin

Signed-off-by: Nam Hoang <hoangxuannam160493@gmail.com>
  • Loading branch information
namhoang1604 committed Jun 5, 2024
1 parent 3d40a6b commit cb33237
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 28 deletions.
10 changes: 2 additions & 8 deletions packages/cli/default/agent.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,6 @@ server:
$args:
- apiKey: test123

- $require: '@vckit/revocationlist?t=function#revocationList2020Middleware'
$args:
- apiRoutes:
- /routeCreationVerifiableCredential
supportedProofFormats:
- jwt
- lds

- $require: '@vckit/encrypted-storage?t=function#encryptedStoreMiddleware'
$args:
- apiRoutes:
Expand Down Expand Up @@ -458,4 +450,6 @@ agent:
$args:
- BitstringStatusListEntry:
$require: '@vckit/bitstringStatusList?t=object#checkStatus'
RevocationList2020Status:
$require: '@vckit/revocationlist?t=object#checkStatus'
- $require: '@vckit/tools#MultibaseEncodedSHA256'
13 changes: 4 additions & 9 deletions packages/cli/default/default-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,15 +188,7 @@ server:
- - /agent
# - $require: '@vckit/remote-server?t=function#apiKeyAuth'
# $args:
# - apiKey: test123

- $require: '@vckit/revocationlist?t=function#revocationList2020Middleware'
$args:
- apiRoutes:
- /routeCreationVerifiableCredential
supportedProofFormats:
- jwt
- lds
# - apiKey: kh14g04piduv

- $require: '@vckit/encrypted-storage?t=function#encryptedStoreMiddleware'
$args:
Expand Down Expand Up @@ -407,6 +399,7 @@ dbConnectionBitstringStatusList:
entities:
$require: '@vckit/bitstringStatusList?t=object#Entities'

# BitstringStatusList for credentialStatus
bitstringStatusList:
$require: '@vckit/bitstringStatusList#BitstringStatusList'
$args:
Expand Down Expand Up @@ -446,4 +439,6 @@ agent:
$args:
- BitstringStatusListEntry:
$require: '@vckit/bitstringStatusList?t=object#checkStatus'
RevocationList2020Status:
$require: '@vckit/revocationlist?t=object#checkStatus'
- $require: '@vckit/tools#MultibaseEncodedSHA256'
16 changes: 5 additions & 11 deletions packages/cli/default/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,17 +186,9 @@ server:

# API base path
- - /agent
- $require: '@vckit/remote-server?t=function#apiKeyAuth'
$args:
- apiKey: kh14g04piduv

- $require: '@vckit/revocationlist?t=function#revocationList2020Middleware'
$args:
- apiRoutes:
- /routeCreationVerifiableCredential
supportedProofFormats:
- jwt
- lds
# - $require: '@vckit/remote-server?t=function#apiKeyAuth'
# $args:
# - apiKey: kh14g04piduv

- $require: '@vckit/encrypted-storage?t=function#encryptedStoreMiddleware'
$args:
Expand Down Expand Up @@ -447,4 +439,6 @@ agent:
$args:
- BitstringStatusListEntry:
$require: '@vckit/bitstringStatusList?t=object#checkStatus'
RevocationList2020Status:
$require: '@vckit/revocationlist?t=object#checkStatus'
- $require: '@vckit/tools#MultibaseEncodedSHA256'

0 comments on commit cb33237

Please sign in to comment.