Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4517

Unable to decrypt PDF with String and Stream filter to identity

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.15
    • Fix Version/s: 2.0.16, 3.0.0 PDFBox
    • Component/s: Parsing
    • Labels:
      None

      Description

      I receive a PDF that contains the following Encryption Dictionnary:

      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

      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.

        Attachments

        1. cryptfilter.pdf
          2 kB
          Jérôme Joslet
        2. PDFBOX-4517.patch
          5 kB
          Jérôme Joslet

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              j.joslet Jérôme Joslet
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: