You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jérôme Joslet (JIRA)" <ji...@apache.org> on 2019/05/03 09:35:00 UTC

[jira] [Commented] (PDFBOX-4517) Unable to decrypt PDF with String and Stream filter to identity

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

Jérôme Joslet commented on PDFBOX-4517:
---------------------------------------

As [~lehmi] said, there is an Identity crypt filter implemented but it is not used by SecurityHandler.

> Unable to decrypt PDF with String and Stream filter to identity
> ---------------------------------------------------------------
>
>                 Key: PDFBOX-4517
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4517
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.15
>            Reporter: Jérôme Joslet
>            Priority: Major
>         Attachments: cryptfilter.pdf
>
>
> I receive a PDF that contains the following Encryption Dictionnary:
> {code:java}
> 32 0 obj
> <</O (Ûýµ\fÁÒIÆ&Îé ^°Â>5N,\\qè¬#O‰2³Ã\b¼5¶ºj;šP)/EFF/StdCF/P -1852/R 5/OE (Q0Òzªè^À¸ÆÏÝéðnP}‚»Ÿ]ã.y„úŸcúÑ^)/U (ÐT7ŽHib³Ç\t|´_¶ºU¢ŸäNbíà>Ð@¼ ½ðï£Xš‘ú-Uz¯L<0ã)/EncryptMetadata false/V 5/Length 256/CF<</StdCF<</AuthEvent/EFOpen/Length 32/CFM/AESV3>>>>/StmF/Identity/Filter/Standard/StrF/Identity/Perms (¶;´—‹€]m¶Ç„ø)/UE (ºî«Õâk$ô‹f‘Î0¥®e"ªÄ]¬9ÎNï‘1öÓ)>>
> endobj{code}
> and I was unable to open it with PDF Box.
> Unfortunately, I can't share this PDF with you due to customer privacy and I was unable to find a tool that allow to create such a PDF.
> This kind of encryption is useless I think, but it's probably intersting to support it anyway. Browsers and Adobe Reader have no problem to open it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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