Skip to content

Consider if mapping record.credential.id can be checked for a match when setting status #25

@dlongley

Description

@dlongley

Consider adding an additional sanity check here:

https://github.com/digitalbazaar/bedrock-vc-status/blob/v2.1.0/lib/status.js#L89-L91

That ensures that the statusCredentialList in the provided status entry from the VC matches the record.credential.id in the BSL VC that has been fetched. Consider proxy cases and whether checking this would disrupt any other features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions