[
https://issues.apache.org/jira/browse/PDFBOX-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-1468.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
Assignee: Andreas Lehmkühler
Within a dictionary nothing but strings or streams should be decrypted. I fixed
that in revision 1423061
I didn't use Jurajs proposal as it won't work in every case.
Thanks for the report!
> Decrypting unencrypted strings
> ------------------------------
>
> Key: PDFBOX-1468
> URL: https://issues.apache.org/jira/browse/PDFBOX-1468
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 1.7.1
> Reporter: Juraj Lonc
> Assignee: Andreas Lehmkühler
> Fix For: 1.8.0
>
> Attachments: PDFBOX-1468.diff, Protokol o kontrole originality -
> Drabikova.pdf
>
>
> I have received encrypted PDF which contains several string objects but not
> all of them are encrypted.
> I am not sure whether it is or it is not compliant with pdf reference.
> But I have created fix so pdfbox can handle this.
> If string contains only chars between 32-127 then decryption is not necessary
> (I know, this is not true in 100% of cases but I think it is swallowable)
> Some strings are encrypted:
> /CreationDate(\222\202\376k\003\372\306\236\(IP\327C\215\375k\357)
> /ModDate(\222\202\376k\003\372\306\236\(IP\327C\215\375k\357)
> /Producer(\241\350\210\035\001\352\224\3219\(0\247\006\333\2537\225\334\300\232\265)
> Some are not:
> /Registry(Adobe)
> /Ordering(Identity)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira