[jira] [Commented] (FOP-2854) CreationDate in PDF metadata breaks reproducible builds

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (FOP-2854) CreationDate in PDF metadata breaks reproducible builds

simon steiner (Jira)

    [ https://issues.apache.org/jira/browse/FOP-2854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16804002#comment-16804002 ]

Chris Bowditch commented on FOP-2854:
-------------------------------------

Most people overcome this issue by loading the PDF using a library such as PDFBox and comparing the parts of the PDF they care about

It's not only dates that change by object reference IDs and other data structures within the PDF. I don't think this enhancement request is feasible nor within scope of FOP, whose responsibility it is generate valid PDF, not solve upstream problems in relation to comparison

> CreationDate in PDF metadata breaks reproducible builds
> -------------------------------------------------------
>
>                 Key: FOP-2854
>                 URL: https://issues.apache.org/jira/browse/FOP-2854
>             Project: FOP
>          Issue Type: Improvement
>          Components: renderer/pdf
>    Affects Versions: 2.3
>         Environment: Debian GNU/Linux
>            Reporter: Filippo Rusconi
>            Priority: Major
>
> Greetings,
> I would like to report that the CreationDate value that is set in the PDF file changes at each run. This is problematic because that makes it impossible to run FOP in the context of reproducible builds (see https://wiki.debian.org/ReproducibleBuilds).
> Would it be possible to create an option to set that date value manually or some equivalent solution to this problem ?
> Thank you so much for your work on FOP !
> Regards,
> Filippo



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)