Skip to content

Commit

Permalink
Fix typo and use existing script commands
Browse files Browse the repository at this point in the history
Signed-off-by: lovesh <lovesh.bond@gmail.com>
  • Loading branch information
lovesh committed Nov 19, 2024
1 parent b60a05d commit 36bdb31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
[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.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 1 addition & 4 deletions tests/anonymous-credentials/presentation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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`', () => {
Expand Down

0 comments on commit 36bdb31

Please sign in to comment.