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

Decrypting unencrypted strings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.1
    • 1.8.0
    • PDModel

    Description

      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)

      Attachments

        1. Protokol o kontrole originality - Drabikova.pdf
          364 kB
          Juraj Lonc
        2. PDFBOX-1468.diff
          2 kB
          Juraj Lonc

        Activity

          People

            lehmi Andreas Lehmkühler
            chupacabras Juraj Lonc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: