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

Michele Balistreri commented on PDFBOX-2796:
--------------------------------------------

This is just an observation. About the parentheses you are absolutely right, I 
put them in the wrong place. I am replacing the patch.

I do not know if a better solution instead of a blacklist of attributes is to 
just tolerate any failure in decrypting and keep the (supposedly already plain) 
original value.

> SecurityHandler should not try to decrypt TU entries
> ----------------------------------------------------
>
>                 Key: PDFBOX-2796
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2796
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Michele Balistreri
>         Attachments: SecurityHandler-signature-fix.diff
>
>
> The SecurityHandler should not try to decrypt TU entries, just like it does 
> not decrypt CONTENTS of signatures. Patch attached.
> Unfortunately I cannot share the file which shows the problem with the 
> current behavior. The issue is that it tries to decrypt something not 
> encrypted in the first place.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to