Skip to content

SignedData.verify does not check for notBefore and notAfter validity #460

@susnux

Description

@susnux

When verifying SignedData (even with checkChain = true) the certificate validity is not checked.

Here none of both certificate params is passed to the tstinfo:

if (!(await tstInfo.verify({ data }, crypto))) {

The TSTInfo.verify expects the notBefore or notAfter parameters of the signers certificate to be passed.

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