bcgov/BC-Wallet-Demo

connection-less proof request not matching vc-authn

cvarjao opened this issue · 0 comments

from vc-authn:

{
  "name": "accredited-lawyer",
  "names": null,
  "version": "1.5.1",
  "nonce": "1006490795335943171980546",
  "requested_attributes": {
    "b26779f1-7849-4593-84ee-43bcaa2b50fd": {
      "names": [
        "PPID",
        "Given Name",
        "Surname",
        "Member Status",
        "Member Status Code"
      ],
      "restrictions": [
        {
          "schema_name": "Member Card",
          "schema_version": "1.5.1",
          "issuer_did": "4xE68b6S5VRFrKMMG1U95M"
        }
      ]
    }
  },
  "requested_predicates": {},
  "non_revoked": { "from": 0, "to": 1668017566 }
}

from the showcase:

{
  "name": "Court Services Request",
  "version": "Court Services Request",
  "nonce": "1033408721763614909419986",
  "requested_attributes": {
    "Member Card": {
      "restrictions": [{ "schema_name": "Member Card" }],
      "names": ["Member Status"]
    }
  },
  "requested_predicates": {}
}

Particularly the non_revoked settings needs to to match