Skip to content

Handle expired credentials in createPresentation #12

@alexfigtree

Description

@alexfigtree

Issue originally found on LCW: Create Share Link Isn't Possible for Credentials with Warnings #742

Share links can't be created on LCWs for VC's that are expired. There is a call on the LCW side for vc.createPresentation - Failure to create a public link on LCW for the "certified-safe-4-agilist.png" credential appears to be coming from app/lib/present.ts on this line:

const presentation = vc.createPresentation({ verifiableCredential, holder })

Also possibly related to VC's throwing an exception when cred is expired: digitalcredentials/vc#27

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To Do (Current sprint)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions