Closed ianco closed 10 months ago
See aca-py issue https://github.com/hyperledger/aries-cloudagent-python/issues/2657
Closing this as we have tests working that handle this scenario. The discrepancy was actually handled internally by acapy but the tests needed to be updated to avoid using issuer_did
in the filters
payload when creating presentations and proofs. Anoncreds expects to just have a filter like {"filters": {"indy": {"cred_def_id": "replace_me"}}
This issue came up when testing with aca-py, with the new anoncreds-code. @swcurran provides the following background:
In this method, the anoncreds issuer expects an issuer_id, however the AATH tests are passing in an issuer_did:
https://github.com/hyperledger/aries-cloudagent-python/blob/main/aries_cloudagent/anoncreds/issuer.py#L452
AATH:
Stack trace:
issuer_did
is referenced in the test harness code as well as many backchannels, how should this be updated in AATH to support the new anoncreds spec? Should each backchannel need to understandissuer_did
vsissuer_id
?