You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can extract the schema_name and schema_version from the passed schemas in the verify_presentation method and pass them down (verify_presentation -> verify_requested_restrictions -> gather_filter_info).
#34
We can extract the schema_name and schema_version from the passed schemas in the `verify_presentation` method and pass them down (`verify_presentation` -> `verify_requested_restrictions` -> `gather_filter_info`).
For the other ones, maybe we need to look at adding an issuerId property to anoncreds objects after all? I think there's no harm in it, and it would be backwards compatible with current anoncreds (issuerId is always the indy did in that case). Relevant issue: hyperledger/anoncreds-spec#102
For the indy method it would be the indy did, for cheqd it would be the cheqd did. For non ledger based methods there must be some point of reference of who created the schema/credential definition. For https it could be the host (e.g. schema https://hyperledger.org/membershipSchema would have issuerId of https://hyperledger.org
An interesting question. Agree that this is relevant to Issue 102 in the Spec repo.
I think we should include it. It would also be good if we could validate it, but that gets tricky -- AnonCreds Method specific and even then, self-asserted. Would it be possible to require that all AnonCreds URIs stem from the issuerId? That would work for the existing/planned methods but would be hard to explain and enforce.
Bottom line -- I think we should include it and require it.
Would it be possible to require that all AnonCreds URIs stem from the issuerId?
Would it make sense to make all AnonCreds URIs come from the issuerId? If we have a cred_def with a schema_id inside from another issuer, it would fail while being valid, right? Or maybe I am misunderstanding the point.
Also, do we want to add it to the revocation_registry and revocation_registry_definition? Or is there something changed in the spec about this?
And the last question, do we require all issuerId's to be strings or a URI like the anoncreds object identifiers?
For the other ones, maybe we need to look at adding an
issuerId
property to anoncreds objects after all? I think there's no harm in it, and it would be backwards compatible with current anoncreds (issuerId is always the indy did in that case). Relevant issue: hyperledger/anoncreds-spec#102For the indy method it would be the indy did, for cheqd it would be the cheqd did. For non ledger based methods there must be some point of reference of who created the schema/credential definition. For https it could be the host (e.g. schema
https://hyperledger.org/membershipSchema
would haveissuerId
ofhttps://hyperledger.org
_did
andid
for restrictions@swcurran thoughts?
Originally posted by @TimoGlastra in #25 (comment)
The text was updated successfully, but these errors were encountered: