TalaoDAO / hedera-vc-api

VC API
Apache License 2.0
1 stars 0 forks source link

Different 400 message when Credential is revoked. #8

Closed Reccetech closed 10 months ago

Reccetech commented 10 months ago

When you do Verification of a revoked Verifiable Credential - if the credential is properly revoked then you'll get a 400 "message": "Invalid Input!"

However this is the same message I seem to get when there is any issues with a credential one is attempting to verify. Therefore one cannot distinguish from the response if the credential is revoked or there is maybe a format issue with the credential.

Is it possible to create a specific response message if a credential is revoked?

podefr commented 10 months ago

this is good feedback and I agree, but this is currently as per the specifications:

https://w3c-ccg.github.io/vc-api/#verify-credential

this issue should probably discussed with the working group, what do you think?

Reccetech commented 10 months ago

Sounds good.