pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Klíma (JIRA) <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4393) PDF signature invalid after second interactive field signed
Date Wed, 05 Dec 2018 10:38:00 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16709896#comment-16709896

Martin Klíma commented on PDFBOX-4393:

Hi Tilman, thanks for the answer and quick response!

So basically the problem is that the PDF file is missing Adobe Reader metadata, am I right?
I will check if other software like FoxitReader will accept this as valid but in the mean
time, is there any possibility how to make it work for Adobe Reader?

Sadly I don't have acces to Adobe Reader support but most of the clients use this software
as default PDF reader.

Maybe use some tool to include correct Metadata. I am not expert on this, are the Metadata
static? Or they change with content of PDF? If they would be static, it would be probably
possible to append them to PDF otherwise it would be necessary to somehow automatically open
and save the PDF in Adobe Reader to have them correctly formatted in PDF. 





> PDF signature invalid after second interactive field signed
> -----------------------------------------------------------
>                 Key: PDFBOX-4393
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4393
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Signing
>    Affects Versions: 2.0.12
>         Environment: Windows
>            Reporter: Martin Klíma
>            Priority: Major
>         Attachments: image-2018-12-04-11-14-01-586.png, image-2018-12-04-11-14-32-676.png,
streamserve_test_sig0.pdf, streamserve_test_sig0_saved.pdf, streamserve_test_sig0_saved_signed
by PDFBox.pdf, streamserve_test_sig0_saved_signed by PDFBox_then_signed by AR.pdf, streamserve_test_sig2.pdf,
streamserve_test_sig3.pdf, streamserve_test_sig3.signed.pdf
> Hi guys,
> I stumped on the problem with PDFBox and interactive field signing. I have PDF generated
with OpenText StreamServe with two interactive fields for signing. See example 1 (streamserve_test_sig0.pdf)
in attachement.
> When I use Adobe Reader I can sign both of the visual fields just fine but when I use
PDFBox to sign one of this field the following signature is marked as invalid. Doesn't matter
if I use PDFbox or sign it manually with Adobe Reader See example 3: 
>  *  streamserve_test_sig3.pdf (signed by PDFBox) - valid
>  *  streamserve_test_sig3.signed.pdf (signed 2nd by Adobe Reader) - invalid
> !image-2018-12-04-11-14-01-586.png|width=582,height=269!
> Also last example - when it´s signed first by Adobe Reader and then with PDFBox the
signature seems valid but it says the document was "certified". See example 2 (streamserve_test_sig2.pdf)
> !image-2018-12-04-11-14-32-676.png|width=591,height=283!
> What could be wrong? When is signed whole document with PDFBox it works just fine.
> Thanks for response,
> Martin

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org

View raw message