Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename tag to run Bitstring Status List test suite from StatusList2021 to BitstringStatusList. #99

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# vc-test-suite-implementations Changelog

## 4.0.0 - 2024-01-TBD

### Changed
- **BREAKING**: Rename the tag to run Bitstring Status List test suite from
`StatusList2021` to `BitstringStatusList`.

## 3.0.0 - 2024-01-02

### Changed
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ Example
can assign multiple tags to them, eliminating the need for redundant entries.
For instance, if an issuer with the ID
https://product.example.com/issuers/z1AEwLo7tZ3TrsPgRcgLJqQvR can be run with
both the Status List 2021 and VC API test suites, a single entry with
both the VC Bitstring Status List and VC API test suites, a single entry with
multiple tags can be used. This consolidated entry, containing tags for
both VC API and Status List 2021 test suites, ensures that the issuer and
both VC API and VC Bitstring Status List test suites, ensures that the issuer and
the verifier will be run against both test suites. Here is an example of how to
structure the entry:

Expand All @@ -195,7 +195,7 @@ For Example:
"issuers": [{
"id": "https://product.example.com/issuers/z4Rq7N1lT6zVwFgXk8JYdCcKpU",
"endpoint": "https://product.example.com/issuers/z4Rq7N1lT6zVwFgXk8JYdCcKpU/credentials/issue",
"tags": ["vc-api", "StatusList2021", "Suspension"]
"tags": ["vc-api", "BitstringStatusList", "Suspension"]
}],
"verifiers": [{
"id": "https://product.example.com/verifiers/z4Rq7N1lT6zVwFgXk8JYdCcKpU",
Expand Down Expand Up @@ -223,13 +223,13 @@ previously using `Ed25519Signature2018`.

#### Status List 2021 Test Suite

* `StatusList2021` and `Revocation`/`Suspension`- Combining the `StatusList2021`
tag with `Revocation` or `Suspension` tags will run the
[Status List 2021 tests](https://github.com/w3c-ccg/status-list-2021-test-suite)
* `BitstringStatusList ` and `Revocation`/`Suspension`- Combining the
`BitstringStatusList` tag with `Revocation` or `Suspension` tags will run the
[Bitstring Status List tests](https://github.com/w3c-ccg/vc-bitstring-status-list-test-suite)
on your issuer and/or verifier.
* Adding the `Revocation` tag alongside `StatusList2021` runs tests for
* Adding the `Revocation` tag alongside `BitstringStatusList` runs tests for
issuers or verifiers issuing/verifying VCs with the revocation status purpose.
* Adding the `Suspension` tag alongside `StatusList2021` runs tests for
* Adding the `Suspension` tag alongside `BitstringStatusList` runs tests for
issuers or verifiers issuing/verifying VCs with the suspension status purpose.
* Note: To update the status of VCs and publish the updated status, additional
endpoints `setStatusLists` - `/credentials/status` and `publishStatusLists`
Expand Down
14 changes: 7 additions & 7 deletions implementations/DigitalBazaar.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"capability": "{\"@context\":[\"https://w3id.org/zcap/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"urn:uuid:cedbbd4b-f49f-46de-a102-2ade0ec24b8c\",\"controller\":\"did:key:z6MkptjaoxjyKQFSqf1dHXswP6EayYhPQBYzprVCPmGBHz9S\",\"parentCapability\":\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz19vkDXghpYCFp7GE8ZCpvJn8\",\"invocationTarget\":\"https://issuer.qa.veres.app/issuers/z19vkDXghpYCFp7GE8ZCpvJn8/credentials\",\"expires\":\"2024-11-19T13:57:42Z\",\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-11-20T13:57:43Z\",\"verificationMethod\":\"did:key:z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b#z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b\",\"proofPurpose\":\"capabilityDelegation\",\"capabilityChain\":[\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz19vkDXghpYCFp7GE8ZCpvJn8\"],\"proofValue\":\"zvupVcxzQqaUMXStHGWxHAJ8KiMiaWJcqSuZvpt8tjm1fpdDM3ihVQ1LRdEnVRnMuNR75WGdBhE4Vs5BNtotWopx\"}}",
"keySeed": "KEY_SEED_DB"
},
"tags": ["StatusList2021", "Revocation"]
"tags": ["BitstringStatusList", "Revocation"]
}, {
"id": "https://issuer.qa.veres.app/issuers/z1ACapdWkek1Kqw87GZM5c9D6",
"endpoint": "https://issuer.qa.veres.app/issuers/z1ACapdWkek1Kqw87GZM5c9D6/credentials/issue",
"zcap": {
"capability": "{\"@context\":[\"https://w3id.org/zcap/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"urn:uuid:0551e7ef-b30b-42ed-9e3c-dd8c45fdd657\",\"controller\":\"did:key:z6MkptjaoxjyKQFSqf1dHXswP6EayYhPQBYzprVCPmGBHz9S\",\"parentCapability\":\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz1ACapdWkek1Kqw87GZM5c9D6\",\"invocationTarget\":\"https://issuer.qa.veres.app/issuers/z1ACapdWkek1Kqw87GZM5c9D6/credentials\",\"expires\":\"2024-11-19T13:59:45Z\",\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-11-20T13:59:46Z\",\"verificationMethod\":\"did:key:z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b#z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b\",\"proofPurpose\":\"capabilityDelegation\",\"capabilityChain\":[\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz1ACapdWkek1Kqw87GZM5c9D6\"],\"proofValue\":\"zWEnRPYfPCXSSJqpt2PCZNo8ZfKTDdfJTubxrT4vdqW36GoHq6QQTP1Z2cRUhr2Rvq76h9xSF184FY5NM15E9q43\"}}",
"keySeed": "KEY_SEED_DB"
},
"tags": ["StatusList2021", "Suspension"]
"tags": ["BitstringStatusList", "Suspension"]
}, {
"id": "https://issuer.qa.veres.app/issuers/z1AEwLo7tZ3TrsPgRcgLJqQvR",
"endpoint": "https://issuer.qa.veres.app/issuers/z1AEwLo7tZ3TrsPgRcgLJqQvR/credentials/issue",
Expand All @@ -31,28 +31,28 @@
"capability": "{\"@context\":[\"https://w3id.org/zcap/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"urn:uuid:6b68dcde-7303-42af-b2d0-2166e483707f\",\"controller\":\"did:key:z6MkptjaoxjyKQFSqf1dHXswP6EayYhPQBYzprVCPmGBHz9S\",\"parentCapability\":\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz19vkDXghpYCFp7GE8ZCpvJn8\",\"invocationTarget\":\"https://issuer.qa.veres.app/issuers/z19vkDXghpYCFp7GE8ZCpvJn8/slcs\",\"expires\":\"2024-11-19T13:57:42Z\",\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-11-20T13:57:43Z\",\"verificationMethod\":\"did:key:z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b#z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b\",\"proofPurpose\":\"capabilityDelegation\",\"capabilityChain\":[\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz19vkDXghpYCFp7GE8ZCpvJn8\"],\"proofValue\":\"z4UkGkftbxb6LqzyAR5rGWByTRcj1FpX9zXMwiyJhrGrh3TWaXKjmU9EEjLAbcrLb27yywMt3hx3KrhbJHqSPBg9q\"}}",
"keySeed": "KEY_SEED_DB"
},
"tags": ["StatusList2021", "Revocation"]
"tags": ["BitstringStatusList", "Revocation"]
}, {
"zcap": {
"capability": "{\"@context\":[\"https://w3id.org/zcap/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"urn:uuid:f3d00c42-c539-48bc-8ffd-f067c7c91e1d\",\"controller\":\"did:key:z6MkptjaoxjyKQFSqf1dHXswP6EayYhPQBYzprVCPmGBHz9S\",\"parentCapability\":\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz1ACapdWkek1Kqw87GZM5c9D6\",\"invocationTarget\":\"https://issuer.qa.veres.app/issuers/z1ACapdWkek1Kqw87GZM5c9D6/slcs\",\"expires\":\"2024-11-19T13:59:45Z\",\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-11-20T13:59:46Z\",\"verificationMethod\":\"did:key:z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b#z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b\",\"proofPurpose\":\"capabilityDelegation\",\"capabilityChain\":[\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz1ACapdWkek1Kqw87GZM5c9D6\"],\"proofValue\":\"z4aSSuEnyg6mDmCRdmd9ZBaVpodr8mjMyGDzuMPSLu8iCVBrhVxm4aTc2xpikCthuJR66KUj3PwwbXB74hAN7FkXy\"}}",
"keySeed": "KEY_SEED_DB"
},
"tags": ["StatusList2021", "Suspension"]
"tags": ["BitstringStatusList", "Suspension"]
}],
"setStatusLists": [{
"endpoint": "https://issuer.qa.veres.app/issuers/z19vkDXghpYCFp7GE8ZCpvJn8/credentials/status",
"zcap": {
"capability": "{\"@context\":[\"https://w3id.org/zcap/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"urn:uuid:cedbbd4b-f49f-46de-a102-2ade0ec24b8c\",\"controller\":\"did:key:z6MkptjaoxjyKQFSqf1dHXswP6EayYhPQBYzprVCPmGBHz9S\",\"parentCapability\":\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz19vkDXghpYCFp7GE8ZCpvJn8\",\"invocationTarget\":\"https://issuer.qa.veres.app/issuers/z19vkDXghpYCFp7GE8ZCpvJn8/credentials\",\"expires\":\"2024-11-19T13:57:42Z\",\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-11-20T13:57:43Z\",\"verificationMethod\":\"did:key:z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b#z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b\",\"proofPurpose\":\"capabilityDelegation\",\"capabilityChain\":[\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz19vkDXghpYCFp7GE8ZCpvJn8\"],\"proofValue\":\"zvupVcxzQqaUMXStHGWxHAJ8KiMiaWJcqSuZvpt8tjm1fpdDM3ihVQ1LRdEnVRnMuNR75WGdBhE4Vs5BNtotWopx\"}}",
"keySeed": "KEY_SEED_DB"
},
"tags": ["StatusList2021", "Revocation"]
"tags": ["BitstringStatusList", "Revocation"]
}, {
"endpoint": "https://issuer.qa.veres.app/issuers/z1ACapdWkek1Kqw87GZM5c9D6/credentials/status",
"zcap": {
"capability": "{\"@context\":[\"https://w3id.org/zcap/v1\",\"https://w3id.org/security/suites/ed25519-2020/v1\"],\"id\":\"urn:uuid:0551e7ef-b30b-42ed-9e3c-dd8c45fdd657\",\"controller\":\"did:key:z6MkptjaoxjyKQFSqf1dHXswP6EayYhPQBYzprVCPmGBHz9S\",\"parentCapability\":\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz1ACapdWkek1Kqw87GZM5c9D6\",\"invocationTarget\":\"https://issuer.qa.veres.app/issuers/z1ACapdWkek1Kqw87GZM5c9D6/credentials\",\"expires\":\"2024-11-19T13:59:45Z\",\"proof\":{\"type\":\"Ed25519Signature2020\",\"created\":\"2023-11-20T13:59:46Z\",\"verificationMethod\":\"did:key:z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b#z6MkmMeWhZTJr8mhA2n48FoKV1kLqJAm9eYdu4cdTtTC6Y5b\",\"proofPurpose\":\"capabilityDelegation\",\"capabilityChain\":[\"urn:zcap:root:https%3A%2F%2Fissuer.qa.veres.app%2Fissuers%2Fz1ACapdWkek1Kqw87GZM5c9D6\"],\"proofValue\":\"zWEnRPYfPCXSSJqpt2PCZNo8ZfKTDdfJTubxrT4vdqW36GoHq6QQTP1Z2cRUhr2Rvq76h9xSF184FY5NM15E9q43\"}}",
"keySeed": "KEY_SEED_DB"
},
"tags": ["StatusList2021", "Suspension"]
"tags": ["BitstringStatusList", "Suspension"]
}],
"verifiers": [{
"id": "https://verifier.qa.veres.app/verifiers/z19jXQPi819fJVaBRFxZXqXay",
Expand All @@ -61,7 +61,7 @@
"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\"}}",
"keySeed": "KEY_SEED_DB"
},
"tags": ["vc-api", "StatusList2021"]
"tags": ["vc-api", "BitstringStatusList"]
}],
"didResolvers": [{
"id": "",
Expand Down