Skip to content

Add option to override signing time #125

@fmoessbauer

Description

@fmoessbauer

When creating the signed attributes, e.g. via pesign -i $in -E $in.sattrs, the ASN1 node signingTime is added containing the timestamp of the invocation of the call. The corresponding code is (1). However, this breaks reproducible builds, as neither the SOURCE_DATE_EPOCH variable is honored, nor is there an option to not include this node or pin it to a fixed point in time.

if (generate_time(cms, &encoded, time(NULL)) < 0)

It would be great, if an option for that could be added (and / or the SDE is honored).

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