diff --git a/README.md b/README.md index 762f582d..7b16da84 100644 --- a/README.md +++ b/README.md @@ -1313,4 +1313,4 @@ The Circom programs and corresponding R1CS and WASM files for the tests are [her The composite proof system is used to implement anonymous credentials. See [here](src/anonymous-credentials/) for details. -[Slides](https://www.slideshare.net/SSIMeetup/anonymous-credentials-with-range-proofs-verifiable-encryption-zksnarks-circom-support-and-blinded-issuance-lovesh-harchandani) and [video](https://www.youtube.com/watch?v=e_E_6Fx5dro) for a presentation given at SSI meetup. Mostl of the presentation goes over the code, mostly anonymous credentials from this library. \ No newline at end of file +[Slides](https://www.slideshare.net/SSIMeetup/anonymous-credentials-with-range-proofs-verifiable-encryption-zksnarks-circom-support-and-blinded-issuance-lovesh-harchandani) and [video](https://www.youtube.com/watch?v=e_E_6Fx5dro) for a presentation given at SSI meetup. Most of the presentation goes over the code, mostly anonymous credentials from this library. \ No newline at end of file diff --git a/package.json b/package.json index a95c73f5..0664135e 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "test-bbs+": "TEST_SIGNATURE_SCHEME=BBS+ yarn jest", "test-ps": "TEST_SIGNATURE_SCHEME=PS yarn jest", "test-bbdt16": "TEST_SIGNATURE_SCHEME=BBDT16 yarn jest", - "test-all": "TEST_SIGNATURE_SCHEME=BBS yarn jest; TEST_SIGNATURE_SCHEME=BBS+ yarn jest; TEST_SIGNATURE_SCHEME=PS yarn jest; TEST_SIGNATURE_SCHEME=BBDT16 yarn jest", + "test-all": "yarn test-bbs && yarn test-bbs+ && yarn test-ps && yarn test-bbdt16", "typedoc": "typedoc src --plugin typedoc-github-theme --out __typedoc__" }, "license": "Apache-2.0", diff --git a/tests/anonymous-credentials/presentation.spec.ts b/tests/anonymous-credentials/presentation.spec.ts index 8d0ca5cf..9446e161 100644 --- a/tests/anonymous-credentials/presentation.spec.ts +++ b/tests/anonymous-credentials/presentation.spec.ts @@ -63,9 +63,8 @@ import { getExampleSchema, getKeys, setupPrefilledAccum, - verifyCred, writeSerializedObject + verifyCred } from './utils'; -import exp = require('node:constants'); // Setting it to false will make the test run the SNARK setups making tests quite slow const loadSnarkSetupFromFiles = true; @@ -1893,8 +1892,6 @@ describe.each([true, false])( checkResult(pres1.verify([pk1, pk2, pk3], acc, pp)); checkPresentationJson(pres1, [pk1, pk2, pk3], acc, pp); - - writeSerializedObject(pres1, `${Scheme.toLowerCase()}-presentation-0.10.0.json`); }); it('from a credential with subject as an array `credential5`', () => {