[
https://issues.apache.org/jira/browse/PDFBOX-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542259#comment-14542259
]
Tilman Hausherr commented on PDFBOX-2796:
-----------------------------------------
Do you have a pointer to the spec where this is explained, or is this just an
observation?
Your patch has a problem, there are missing parenthesis, see
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html
(Although I have some doubt about whether the part with CONTENTS is ever
accessed)
> 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: [email protected]
For additional commands, e-mail: [email protected]