aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

[Bug] A 400 error occurred when checking for credential revocation.

Open baegjae opened this issue 2 years ago • 0 comments

Environment

  • Aca-py 0.7.4
  • Askar - indy credx 0.3.1

Situation

  1. A holder received a credential that does not support revocation.
  2. A holder tried to check this credential is revoked by using /credential/revoked/:credential_id
  3. 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".

image

Thanks!

baegjae avatar Jul 26 '22 04:07 baegjae