You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/06/08 17:39:18 UTC

[jira] [Commented] (PDFBOX-3821) Newly added MDP functionality breaks PDFs

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

Tilman Hausherr commented on PDFBOX-3821:
-----------------------------------------

Please attach or send the PDF. Which lines did you commented? {{setMDPPermission}} sets {{/TransformMethod}} so it sounds weird that it would complain that it is missing. A "sigrefdocmdp" doesn't exist.

The only thing I noticed is that MDP requires PDF 1.5. So maybe I should change that. I wonder if it is allowed to increase the version when signing.

> Newly added MDP functionality breaks PDFs
> -----------------------------------------
>
>                 Key: PDFBOX-3821
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3821
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Signing
>    Affects Versions: 2.0.5, 2.0.6
>            Reporter: Lonzak
>         Attachments: Preflight2.png
>
>
> Changes introduced in PDFBOX-3017, PDFBOX-3699 broke the signing functionality. 
> A perfectly valid PDF (in 2.0.4) doesn't pass the acrobat preflight test now:
> "Incorrect value type for this key" and "general file format error"
> "The required key /TransformMethod is missing" and "An unexpected value is associated with the key."
> More details see the attached screenshot. I executed the "CreateVisibleSignature.java" code. And if the lines are commented the error is gone.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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