You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Martin Klíma (JIRA)" <ji...@apache.org> on 2018/12/04 10:16:00 UTC
[jira] [Updated] (PDFBOX-4393) PDF signature invalid after second
interactive field signed
[ https://issues.apache.org/jira/browse/PDFBOX-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Klíma updated PDFBOX-4393:
---------------------------------
Description:
Hi guys,
I stumpted 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.pdg) 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.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
was:
Hi guys,
I stumpted 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.pdg) 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.pdf (signed 2nd by Adobe Reader) - invalid
!image-2018-12-04-11-14-01-586.png!
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!
What could be wrong? When is signed whole document with PDFBox it works just fine.
Thanks for response,
Martin
> 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
> 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_sig2.pdf, streamserve_test_sig3.pdf, streamserve_test_sig3.signed.pdf
>
>
> Hi guys,
> I stumpted 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.pdg) 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.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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org