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

Update implementations package #2

Merged
merged 4 commits into from
Dec 14, 2023
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
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# w3c/vc-di-bbs-test-suite ChangeLog

## 1.1.0 - 2023-12-14

## 1.0.0 - 2023-12-dd
### Changed
- Updated `vc-api-test-suite-implementations` package name to
`vc-test-suite-implementations`.

## 1.0.0 - 2023-12-11

- See git history for changes.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,12 @@ A simplified manifest would look like this:
"issuers": [{
"id": "",
"endpoint": "https://mycompany.example/credentials/issue",
"method": "POST",
"supportedEcdsaKeyTypes": ["P-256"]
"tags": ["bbs-2023"]
}],
"verifiers": [{
"id": "",
"endpoint": "https://mycompany.example/credentials/verify",
"method": "POST",
"supportedEcdsaKeyTypes": ["P-256", "P-384"]
"tags": ["bbs-2023"]
}]
Expand All @@ -71,12 +69,12 @@ A simplified manifest would look like this:

The example above represents an unauthenticated endpoint. You may add ZCAP or
OAuth2 authentication to your endpoints. You can find an example in the
[vc-api-test-suite-implementations README](https://github.com/w3c-ccg/vc-api-test-suite-implementations#adding-a-new-implementation).
[vc-test-suite-implementations README](https://github.com/w3c-ccg/vc-test-suite-implementations#adding-a-new-implementation).

To run the tests, some implementations may require client secrets that can be
passed as environment variables to the test script. To see which implementations
require client secrets, please check the implementation manifest within the
[vc-api-test-suite-implementations](https://github.com/w3c-ccg/vc-api-test-suite-implementations/tree/main/implementations) library.
[vc-test-suite-implementations](https://github.com/w3c-ccg/vc-test-suite-implementations/tree/main/implementations) library.

### Docker Integration (TODO)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"mocha": "^10.2.0",
"uuid": "^9.0.0",
"varint": "^6.0.0",
"vc-api-test-suite-implementations": "github:w3c-ccg/vc-api-test-suite-implementations"
"vc-test-suite-implementations": "github:w3c-ccg/vc-test-suite-implementations"
},
"devDependencies": {
"eslint": "^8.52.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/10-bbs-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
checkDataIntegrityProofFormat
} from 'data-integrity-test-suite-assertion';
import {documentLoader} from './documentLoader.js';
import {endpoints} from 'vc-api-test-suite-implementations';
import {endpoints} from 'vc-test-suite-implementations';
import {validVc as vc} from './mock-data.js';

const tag = 'bbs-2023';
Expand Down
2 changes: 1 addition & 1 deletion tests/20-bbs-verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {verificationFail, verificationSuccess} from './assertions.js';
import {
checkDataIntegrityProofVerifyErrors
} from 'data-integrity-test-suite-assertion';
import {endpoints} from 'vc-api-test-suite-implementations';
import {endpoints} from 'vc-test-suite-implementations';
import {klona} from 'klona';

const tag = 'bbs-2023';
Expand Down
2 changes: 1 addition & 1 deletion tests/30-bbs-interop.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c) 2023 Digital Bazaar, Inc. All rights reserved.
*/
import {createDisclosedVc, createInitialVc} from './helpers.js';
import {endpoints} from 'vc-api-test-suite-implementations';
import {endpoints} from 'vc-test-suite-implementations';
import {validVc as vc} from './mock-data.js';
import {verificationSuccess} from './assertions.js';

Expand Down