Skip to content

Some status errors are not being reported. #23

Description

@ottonomy

We got an obscure status error due to clock skew. This was reported as statusResult.error.cause.message: The current date time (2025-11-25T22:59:26.684Z) is before \"validFrom\" (2025-11-25T22:59:26.753Z).

However due to this restriction, it got skipped from the reported results, so the credential appeared valid except for not being in an issuer registry. It was actually revoked, but there should be a status error reported for some other cases.

https://github.com/digitalcredentials/verifier-core/blob/main/src/Verify.ts#L179

if (statusResult?.error?.cause?.message?.startsWith(NOT_FOUND_ERROR)) {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions