You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Seifeddine Dridi (JIRA)" <ji...@apache.org> on 2014/07/18 10:58:04 UTC

[jira] [Updated] (FOP-2395) PDF encryption does not work when PDF version is set in FOP config

     [ https://issues.apache.org/jira/browse/FOP-2395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Seifeddine Dridi updated FOP-2395:
----------------------------------

    Attachment: fop-pdf-encryption.xconf
                test.xml

> PDF encryption does not work when PDF version is set in FOP config
> ------------------------------------------------------------------
>
>                 Key: FOP-2395
>                 URL: https://issues.apache.org/jira/browse/FOP-2395
>             Project: Fop
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: trunk
>            Reporter: Seifeddine Dridi
>            Priority: Blocker
>         Attachments: fop-pdf-encryption.xconf, test.xml
>
>
> After setting PDF version to 1.4 or any other version in FOP configuration, an exception is thrown "Cannot change the version of this PDF document".
> A warning is also printed which I find confusing "Configured encryption requires PDF version 1.4 but version has been set to 1.4".
> Does this mean that encryption does not work when I explicitly set my PDF version? It used to work before applying this commit (https://issues.apache.org/jira/browse/FOP-2248).
> Anyone can explain what has changed exactly in the encryption algorithm?
> Thank you



--
This message was sent by Atlassian JIRA
(v6.2#6252)