Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to override signing time #125

Open
fmoessbauer opened this issue Sep 13, 2024 · 0 comments
Open

Add option to override signing time #125

fmoessbauer opened this issue Sep 13, 2024 · 0 comments

Comments

@fmoessbauer
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant