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

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

I see. So what about my second proposal, of ignoring failure to decrypt 
COSString objects (maybe with logging), assuming that they simply are plain 
text already? Should I work on that?

Just to clarify, I have files where /TU is plain, I cannot share them but they 
do exist so maybe this happens also for other entries...

> 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: 001511.pdf, 019668.pdf, 
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to