Skip to content

revocation status not checked if expired #28

@jchartrand

Description

@jchartrand

If a credential is expired, that throws an error here:

vc/lib/index.js

Line 359 in 5eeabad

_checkCredential({credential, log, now});

which isn't caught before the next few lines - which check status - can run.

So status doesn't get checked, but should. Otherwise the verifier UI can only show no status or status false, both of which are wrong and misleadingly.

I think we need to move the status check before the expiry check (i.e, before the _checkCredential call.

This should be done as part of digitalcredentials/verifier-core#3

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done (Deployed/Closed)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions