Skip to content

Commit 6d8fd72

Browse files
committed
Remove duplicate tags and tags for test suites not associated with
w3c-ccg implementations repo.
1 parent 72e453d commit 6d8fd72

File tree

8 files changed

+35
-117
lines changed

8 files changed

+35
-117
lines changed

README.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,22 @@ Please Note:
132132
1. Tags serve as identifiers to determine which test suites to run on your
133133
issuers and verifiers. Only the first issuer/verifier found with a specific
134134
tag from your list will be run against the test suite, while subsequent issuers
135-
and verifiers bearing the same tag won't. This applies to all the test
136-
suites listed below associated with this implementations repository.
135+
and verifiers bearing the same tag won't. This applies to most of the test
136+
suites associated with this implementations repository listed below.
137137

138138
For instance, if you have added the tag `vc-api` to all your issuers and
139139
verifiers to run them with vc api issuer and verifier test suites, only the
140140
first match will be used in the test suites. In the sample configuration below,
141-
only the issuer and verifier with the ID
142-
https://product.example.com/issuers/z1AEwLo7tZ3TrsPgRcgLJqQvR will be selected.
141+
only the issuer and verifier with the IDs
142+
https://product.example.com/issuers/z1AEwLo7tZ3TrsPgRcgLJqQvR and
143+
https://product.example.com/verifiers/z1AEwLo7tZ3TrsPgRcgLJqQvR will be selected.
143144
Therefore, please avoid adding duplicate tags.
144145

146+
Example
145147
```js
148+
// Only the first match https://product.example.com/issuers/z1AEwLo7tZ3TrsPgRcgLJqQvR
149+
// and https://product.example.com/verifiers/z1AEwLo7tZ3TrsPgRcgLJqQvR will be
150+
// run against the VC API issuer and verifier test suites.
146151
{
147152
"issuers": [{
148153
"id": "https://product.example.com/issuers/z1AEwLo7tZ3TrsPgRcgLJqQvR",
@@ -151,28 +156,29 @@ Therefore, please avoid adding duplicate tags.
151156
}, {
152157
"id": "https://product.example.com/issuers/z4Rq7N1lT6zVwFgXk8JYdCcKpU",
153158
"endpoint": "https://product.example.com/issuers/z4Rq7N1lT6zVwFgXk8JYdCcKpU/credentials/issue",
154-
"tags": ["vc-api", "Ed25519Signature2020"]
159+
"tags": ["vc-api"]
155160
}],
156161
"verifiers": [{
157-
"id": "https://product.example.com/verifiers/z19uokPn3b1Z4XDbQSHo7VhFR",
158-
"endpoint": "https://product.example.com/verifiers/z19uokPn3b1Z4XDbQSHo7VhFR/credentials/verify",
162+
"id": "https://product.example.com/verifiers/z1AEwLo7tZ3TrsPgRcgLJqQvR",
163+
"endpoint": "https://product.example.com/verifiers/z1AEwLo7tZ3TrsPgRcgLJqQvR/credentials/verify",
159164
"tags": ["vc-api"]
160165
}, {
161166
"id": "https://product.example.com/verifiers/z4Rq7N1lT6zVwFgXk8JYdCcKpU",
162167
"endpoint": "https://product.example.com/verifiers/z4Rq7N1lT6zVwFgXk8JYdCcKpU/credentials/verify",
163-
"tags": ["vc-api", "Ed25519Signature2020"]
168+
"tags": ["vc-api"]
164169
}]
165170
}
166171
```
167172

173+
168174
2. If an issuer or verifier supports multiple VC signature types, you can assign
169-
multiple tags to them, eliminating the need for redundant entries. For instance,
170-
if an issuer/verifier with the ID
175+
multiple tags to them, eliminating the need for redundant entries to run against
176+
multiple test suites. For instance, if an issuer with the ID
171177
https://product.example.com/issuers/z1AEwLo7tZ3TrsPgRcgLJqQvR can be run with
172-
both the Ed25519Signature2020 and VC API test suites, a single entry with
173-
multiple/combined tags can be used. This consolidated entry, containing tags for
174-
both VC API and Ed25519Signature2020 test suites, ensures that the issuer and
175-
the verifier are run against both test suites. Here is an example of how to
178+
both the Status List 2021 and VC API test suites, a single entry with
179+
multiple tags can be used. This consolidated entry, containing tags for
180+
both VC API and Status List 2021 test suites, ensures that the issuer and
181+
the verifier will be run against both test suites. Here is an example of how to
176182
structure the entry:
177183

178184
For Example:
@@ -181,12 +187,12 @@ For Example:
181187
"issuers": [{
182188
"id": "https://product.example.com/issuers/z4Rq7N1lT6zVwFgXk8JYdCcKpU",
183189
"endpoint": "https://product.example.com/issuers/z4Rq7N1lT6zVwFgXk8JYdCcKpU/credentials/issue",
184-
"tags": ["vc-api", "Ed25519Signature2020"]
190+
"tags": ["vc-api", "StatusList2021", "Suspension"]
185191
}],
186192
"verifiers": [{
187193
"id": "https://product.example.com/verifiers/z4Rq7N1lT6zVwFgXk8JYdCcKpU",
188194
"endpoint": "https://product.example.com/verifiers/z4Rq7N1lT6zVwFgXk8JYdCcKpU/credentials/verify",
189-
"tags": ["vc-api", "Ed25519Signature2020"]
195+
"tags": ["vc-api"]
190196
}]
191197
}
192198
```
@@ -197,10 +203,6 @@ For Example:
197203
on your issuer and the [vc-api-verifier tests](https://github.com/w3c-ccg/vc-api-verifier-test-suite)
198204
on your verifier.
199205

200-
#### Ed25519Signature2020 Test Suite
201-
202-
* `Ed25519Signature2020` - This tag will run the [Ed25519 tests](https://github.com/w3c/vc-di-ed25519signature2020-test-suite) on your issuer and/or verifier.
203-
204206
#### Status List 2021 Test Suite
205207

206208
* `StatusList2021` and `Revocation`/`Suspension`- Combining the `StatusList2021`

implementations/ApiCatalog.json

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,14 @@
44
"verifiers": [{
55
"id": "https://vc.apicatalog.com",
66
"endpoint": "https://vc.apicatalog.com/credentials/verify",
7-
"tags": ["vc-api", "Ed25519Signature2020", "vc2.0", "eddsa-2022", "ecdsa-2019" ]
7+
"tags": ["vc-api"]
88
}],
99
"issuers": [{
1010
"id": "did:key:z6Mkska8oQD7QQQWxqa7L5ai4mH98HfAdSwomPFYKuqNyE2y",
1111
"endpoint": "https://vc.apicatalog.com/credentials/issue",
1212
"options": {
1313
"type": "Ed25519Signature2020"
1414
},
15-
"tags": ["vc-api", "Ed25519Signature2020", "vc2.0"]
16-
}, {
17-
"id": "did:key:z6Mkska8oQD7QQQWxqa7L5ai4mH98HfAdSwomPFYKuqNyE2y",
18-
"endpoint": "https://vc.apicatalog.com/credentials/issue",
19-
"options": {
20-
"type": "eddsa-2022"
21-
},
22-
"tags": ["vc-api", "eddsa-2022"]
23-
}, {
24-
"id": "did:key:zDnaepBuvsQ8cpsWrVKw8fbpGpvPeNSjVPTWoq6cRqaYzBKVP",
25-
"endpoint": "https://vc.apicatalog.com/credentials/issue",
26-
"options": {
27-
"type": "ecdsa-2019"
28-
},
29-
"tags": ["vc-api", "ecdsa-2019" ]
30-
}],
31-
"vpVerifiers": [{
32-
"id": "https://vc.apicatalog.com",
33-
"endpoint": "https://vc.apicatalog.com/presentations/verify",
34-
"tags": ["vc-api", "Ed25519Signature2020", "vc2.0", "eddsa-2022", "ecdsa-2019" ]
15+
"tags": ["vc-api"]
3516
}]
3617
}

implementations/DanubeTech.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,18 @@
88
"type": "Ed25519Signature2018"
99
},
1010
"tags": ["vc-api"]
11-
},
12-
{
13-
"id": "did:key:z6MksvTdeczd92YQ5W2V2gL9kXdRvD2AEiyJPoWieP95HUDo",
14-
"endpoint": "https://uniissuer.io/1.0/credentials/issue",
15-
"options": {
16-
"type": "Ed25519Signature2020"
17-
},
18-
"tags": ["vc-api", "Ed25519Signature2020"]
19-
},
20-
{
11+
}, {
2112
"id": "did:key:z6MksvTdeczd92YQ5W2V2gL9kXdRvD2AEiyJPoWieP95HUDo",
2213
"endpoint": "https://uniissuer.io/1.0/credentials/issue",
2314
"options": {
2415
"type": "JsonWebSignature2020"
2516
},
26-
"tags": ["vc-api", "JsonWebSignature2020"]
17+
"tags": ["JsonWebSignature2020"]
2718
}],
2819
"verifiers": [{
2920
"id": "",
3021
"endpoint": "https://univerifier.io/1.0/credentials/verify",
31-
"tags": ["vc-api", "Ed25519Signature2020"]
22+
"tags": ["vc-api"]
3223
}],
3324
"didResolvers": [{
3425
"id": "",

implementations/DigitalBazaar.json

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,6 @@
2626
},
2727
"tags": ["vc-api", "Ed25519Signature2020"]
2828
}, {
29-
"id": "https://issuer.qa.veres.app/issuers/z19rYvMxCQzMb9hQ7xuQ5ipJd",
30-
"endpoint": "https://issuer.qa.veres.app/issuers/z19rYvMxCQzMb9hQ7xuQ5ipJd/credentials/issue",
31-
"zcap": {
32-
"capability": "{\"@context\":[\"https://w3id.org/zcap/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"urn:uuid:10765250-c445-4672-8271-16a033d5fc51\",\"controller\":\"did:key:z6MkptjaoxjyKQFSqf1dHXswP6EayYhPQBYzprVCPmGBHz9S\",\"parentCapability\":\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz19rYvMxCQzMb9hQ7xuQ5ipJd\",\"invocationTarget\":\"https://issuer.qa.veres.app/issuers/z19rYvMxCQzMb9hQ7xuQ5ipJd/credentials/issue\",\"expires\":\"2024-11-15T17:06:07Z\",\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-11-16T17:06:08Z\",\"verificationMethod\":\"did:key:z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b#z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b\",\"proofPurpose\":\"capabilityDelegation\",\"capabilityChain\":[\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz19rYvMxCQzMb9hQ7xuQ5ipJd\"],\"proofValue\":\"z55MhL1RCGvM1oLd9KqRwSP8rQu5wkr5tcyJbgi4CHvvvvhH65TxVATbHqLQT7b1zPZa7nbVCrUwSxwihoVCjrivU\"}}",
33-
"keySeed": "KEY_SEED_DB"
34-
},
35-
"tags": ["eddsa-rdfc-2022"]
36-
}, {
37-
"id": "https://issuer.qa.veres.app/issuers/z1ADd8YGQqDFrVDXb85City8t",
38-
"endpoint": "https://issuer.qa.veres.app/issuers/z1ADd8YGQqDFrVDXb85City8t/credentials/issue",
39-
"zcap": {
40-
"capability": "{\"@context\":[\"https://w3id.org/zcap/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"urn:uuid:3c8b5da2-646d-4f0d-93ff-d572e81b4bc9\",\"controller\":\"did:key:z6MkptjaoxjyKQFSqf1dHXswP6EayYhPQBYzprVCPmGBHz9S\",\"parentCapability\":\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz1ADd8YGQqDFrVDXb85City8t\",\"invocationTarget\":\"https://issuer.qa.veres.app/issuers/z1ADd8YGQqDFrVDXb85City8t/credentials/issue\",\"expires\":\"2024-11-15T17:07:22Z\",\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-11-16T17:07:22Z\",\"verificationMethod\":\"did:key:z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b#z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b\",\"proofPurpose\":\"capabilityDelegation\",\"capabilityChain\":[\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz1ADd8YGQqDFrVDXb85City8t\"],\"proofValue\":\"z4bwrLM2ohgGZMvAJMhKMAoPUaEoBdorbKLTFbfLry4pmcz2ei6kTxfRxhpux3tm28SYeiJF1fZcnzHAry5QntYxE\"}}",
41-
"keySeed": "KEY_SEED_DB"
42-
},
43-
"supportedEcdsaKeyTypes": ["P-256"],
44-
"tags": ["ecdsa-rdfc-2019"]
45-
}, {
46-
"id": "https://issuer.qa.veres.app/issuers/z1AAB8UhLNuAW4TYj6SJbLFos",
47-
"endpoint": "https://issuer.qa.veres.app/issuers/z1AAB8UhLNuAW4TYj6SJbLFos/credentials/issue",
48-
"zcap": {
49-
"capability": "{\"@context\":[\"https://w3id.org/zcap/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"urn:uuid:b4f664ad-d5f1-4692-8f58-726115ed7273\",\"controller\":\"did:key:z6MkptjaoxjyKQFSqf1dHXswP6EayYhPQBYzprVCPmGBHz9S\",\"parentCapability\":\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz1AAB8UhLNuAW4TYj6SJbLFos\",\"invocationTarget\":\"https://issuer.qa.veres.app/issuers/z1AAB8UhLNuAW4TYj6SJbLFos/credentials/issue\",\"expires\":\"2024-11-15T17:08:07Z\",\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-11-16T17:08:08Z\",\"verificationMethod\":\"did:key:z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b#z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b\",\"proofPurpose\":\"capabilityDelegation\",\"capabilityChain\":[\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz1AAB8UhLNuAW4TYj6SJbLFos\"],\"proofValue\":\"zMfT7RkK978rwgoJJaYe2E6RhSUpi7Eq8cRAwEtQPy9vc96fN3bhwXiGY7bUgpaYV5554z1TUB6st2dH8U669MFb\"}}",
50-
"keySeed": "KEY_SEED_DB"
51-
},
52-
"supportedEcdsaKeyTypes": ["P-384"],
53-
"tags": ["ecdsa-rdfc-2019"]
54-
}, {
5529
"id": "https://vc2.veresissuer.dev/issuers/z1A2ELCrwCJaA8AZKpr3YREye",
5630
"endpoint": "https://vc2.veresissuer.dev/issuers/z1A2ELCrwCJaA8AZKpr3YREye/credentials/issue",
5731
"zcap": {
@@ -95,8 +69,7 @@
9569
"capability": "{\"@context\":[\"https://w3id.org/zcap/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"urn:uuid:73c6ab6d-fd9d-48d8-8260-c0839555e824\",\"controller\":\"did:key:z6MkptjaoxjyKQFSqf1dHXswP6EayYhPQBYzprVCPmGBHz9S\",\"parentCapability\":\"urn:zcap:root:https%3A%2F%2Fverifier.qa.veres.app%2Fverifiers%2Fz19jXQPi819fJVaBRFxZXqXay\",\"invocationTarget\":\"https://verifier.qa.veres.app/verifiers/z19jXQPi819fJVaBRFxZXqXay/credentials/verify\",\"expires\":\"2024-11-15T17:57:43Z\",\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-11-16T17:57:44Z\",\"verificationMethod\":\"did:key:z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b#z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b\",\"proofPurpose\":\"capabilityDelegation\",\"capabilityChain\":[\"urn:zcap:root:https%3A%2F%2Fverifier.qa.veres.app%2Fverifiers%2Fz19jXQPi819fJVaBRFxZXqXay\"],\"proofValue\":\"z2Jcv3ZMfKX4FgXwnK7g4ix8WpWxhtiPdFdL1qjw7Y8XsNrEbeK5CosBPcZwLm9SrCafahF4tkufUmg5QtX51kE11\"}}",
9670
"keySeed": "KEY_SEED_DB"
9771
},
98-
"supportedEcdsaKeyTypes": ["P-256", "P-384"],
99-
"tags": ["vc-api", "Ed25519Signature2020", "StatusList2021", "eddsa-rdfc-2022", "ecdsa-rdfc-2019"]
72+
"tags": ["vc-api", "Ed25519Signature2020", "StatusList2021"]
10073
}, {
10174
"id": "https://vc2.veresverifier.dev/verifiers/z19ojzY8YFhryhpghn6ZaPnHo",
10275
"endpoint": "https://vc2.veresverifier.dev/verifiers/z19ojzY8YFhryhpghn6ZaPnHo/credentials/verify",

implementations/EWF.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"issuers": [{
55
"id": "did:key:z6MksoRPRqnMWiivV4weRGGS9SiHXuqfJEYu95EiYtbvBxW6",
66
"endpoint": "https://vc-api-dev.energyweb.org/v1/vc-api/credentials/issue",
7-
"tags": ["vc-api", "Ed25519Signature2020"]
7+
"tags": ["vc-api"]
88

99
}],
1010
"verifiers": [{
1111
"id": "",
1212
"endpoint": "https://vc-api-dev.energyweb.org/v1/vc-api/credentials/verify",
13-
"tags": ["vc-api", "Ed25519Signature2020"]
13+
"tags": ["vc-api"]
1414
}]
1515
}

implementations/LearnCard.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"issuers": [{
55
"id": "did:key:z6MkjSz4mYqcn7dePGuktJ5PxecMkXQQHWRg8Lm6okATyFVh",
66
"endpoint": "https://bridge.learncard.com/credentials/issue",
7-
"tags": ["vc-api", "Ed25519Signature2020"]
7+
"tags": ["vc-api"]
88

99
}],
1010
"verifiers": [{
1111
"id": "",
1212
"endpoint": "https://bridge.learncard.com/credentials/verify",
13-
"tags": ["vc-api", "Ed25519Signature2020"]
13+
"tags": ["vc-api"]
1414
}]
1515
}

implementations/SpruceID.json

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,12 @@
77
"options": {
88
"type": "Ed25519Signature2020"
99
},
10-
"tags": ["vc-api", "Ed25519Signature2020"]
11-
}, {
12-
"id": "did:key:z6MkgND5U5Kedizov5nxeh2ZCVUTDRSmAfbNqPhzCq8b72Ra",
13-
"endpoint": "https://vc.spruceid.xyz/credentials/issue",
14-
"tags": ["vc-api", "JWT"]
15-
}, {
16-
"id": "did:key:z6MkgND5U5Kedizov5nxeh2ZCVUTDRSmAfbNqPhzCq8b72Ra",
17-
"endpoint": "https://vc.spruceid.xyz/credentials/issue",
18-
"options": {
19-
"type": "DataIntegrityProof"
20-
},
21-
"tags": ["vc-api", "eddsa-2022"]
22-
}, {
23-
"id": "did:key:zDnaei6w9La4VphyPA6V2V5poBTpVtjCsnzPML5c78GWjRhnc",
24-
"endpoint": "https://vc.spruceid.xyz/credentials/issue",
25-
"options": {
26-
"type": "DataIntegrityProof"
27-
},
28-
"tags": ["vc-api", "ecdsa-2019"]
29-
}, {
30-
"id": "did:key:zDnaei6w9La4VphyPA6V2V5poBTpVtjCsnzPML5c78GWjRhnc",
31-
"endpoint": "https://vc.spruceid.xyz/credentials/issue",
3210
"tags": ["vc-api", "JWT"]
3311
}],
3412
"verifiers": [{
3513
"id": "https://spruceid.com",
3614
"endpoint": "https://vc.spruceid.xyz/credentials/verify",
37-
"tags": ["vc-api", "Ed25519Signature2020", "JWT", "eddsa-2022", "ecdsa-2019"]
15+
"tags": ["vc-api", "JWT"]
3816
}],
3917
"didResolvers": [{
4018
"id": "https://spruceid.com",

implementations/Trinsic.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,11 @@
77
"options": {
88
"type": "Ed25519Signature2020"
99
},
10-
"tags": ["vc-api", "Ed25519Signature2020"]
11-
}, {
12-
"id": "did:key:z6MkqbpLSbqnY1pxVyhBCDYcFsv4ZgGgqP32kzNrf5deWVPU",
13-
"endpoint": "https://interop.connect.trinsic.cloud/vc-api/credentials/issue",
14-
"options": {
15-
"type": "DataIntegrityProof"
16-
},
17-
"tags": ["vc-api", "eddsa-2022"]
10+
"tags": ["vc-api"]
1811
}],
1912
"verifiers": [{
2013
"id": "https://trinsic.id",
2114
"endpoint": "https://interop.connect.trinsic.cloud/vc-api/credentials/verify",
22-
"tags": ["vc-api", "eddsa-2022", "Ed25519Signature2020"]
15+
"tags": ["vc-api"]
2316
}]
2417
}

0 commit comments

Comments
 (0)