knox-networks / ssi

Rust SSI library that helps developers handle Digital Identity, Verifiable Credentials and Verifiable Presentations.
Apache License 2.0
2 stars 0 forks source link

Add & Integrate Test Vectors For Data Integrity Proofs #163

Closed LuisOsta closed 11 months ago

LuisOsta commented 1 year ago

This test proves that we generate the data integrity proof correctly against https://github.com/w3c/vc-di-eddsa/blob/main/TestVectors/Ed25519Signature2020/signedEdSig.json

proofvalues will be compared.

LuisOsta commented 1 year ago

See test vectors mentioned in https://github.com/w3c/vc-data-integrity/issues/221

LuisOsta commented 11 months ago

Important links - https://github.com/w3c/vc-test-suite-implementations/tree/main#vc-test-suite-implementations and https://github.com/w3c/vc-di-eddsa-test-suite/tree/main

fkim7 commented 11 months ago

can be tested thru SSI CLI , or GHA which runs ssi_cli test-ed25519-signature2020 --input-file TestVectors/unsigned.json --key-pair-file TestVectors/keyPair.json --comparison-file TestVectors/Ed25519Signature2020/signedEdSig.json https://github.com/knox-networks/ssi/blob/761d167664b30603b4e49905c540b0a80a79bffc/.github/workflows/vc_model_spec_test.yaml https://github.com/knox-networks/ssi/blob/761d167664b30603b4e49905c540b0a80a79bffc/.github/workflows/data_integrity_spec_test.yaml

https://github.com/knox-networks/ssi/blob/761d167664b30603b4e49905c540b0a80a79bffc/core/src/proof.rs#L118