aries-cloudagent-python
aries-cloudagent-python copied to clipboard
[Bug] A 400 error occurred when checking for credential revocation.
Environment
- Aca-py 0.7.4
- Askar - indy credx 0.3.1
Situation
- A holder received a credential that does not support revocation.
- A holder tried to check this credential is revoked by using /credential/revoked/:credential_id
- The response is
400: get_revoc_reg_delta failed for revoc_reg_id='None'. Validation error: Revocation Registry Id validation failed: "None", doesn't match pattern.
Bug
https://github.com/hyperledger/aries-cloudagent-python/blob/4b1fa1346c004644b3e3ea986caee879b4ff3223/aries_cloudagent/indy/credx/holder.py#L397
I think rev_reg_id
should be None
, but when I tested the above case it was "None"
.
Thanks!