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

Convert suites over to local issuers / vc-gen #53

Open
aljones15 opened this issue Jul 26, 2024 · 0 comments
Open

Convert suites over to local issuers / vc-gen #53

aljones15 opened this issue Jul 26, 2024 · 0 comments
Assignees

Comments

@aljones15
Copy link
Contributor

Currently the JCS suite still creates test data by calling on a remote endpoint:

import {issuerNameJCS} from './test-config.js';
const {tags} = config.suites['eddsa-jcs-2022'];
// only use implementations with `eddsa-jcs-2022` verifiers.
const {match: verifierMatches} = endpoints.filterByTag({
tags: [...tags],
property: 'verifiers'
});
describe('eddsa-jcs-2022 (verify)', function() {
let issuedVc;
let credentials;
before(async function() {
const {match: issuerMatches} = endpoints.filterByTag({
tags: [...tags],
property: 'issuers'
});
// FIXME: Currently uses 'bovine' as default issuer to issue a verifiable
// credential for the `eddsa-jcs-2022` verifier tests. This needs to be
// updated in future to use either Digital Bazaar or generate the vc using
// `vc-generator` helper.
const [issuer] = issuerMatches.get(issuerNameJCS).endpoints;

This suite needs to remove all test data creation using endpoints (even outside of the JCS verify suite).

  1. expand the vc-generator to cover all suites involved with the test
  2. use that vc-gen to create both rdfc and jcs test fixtures
@aljones15 aljones15 self-assigned this Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant