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

currentAccessPermission.setReadOnly() not set in StandardSecurityHandler

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.12, 1.8.13, 2.0.1, 2.0.2, 3.0.0 PDFBox
    • Fix Version/s: 1.8.13, 2.0.2, 3.0.0 PDFBox
    • Component/s: Crypto
    • Labels:
      None

      Description

      Reported by Joe Ye in the mailing list

      While troubleshooting an encryption related issue, I discovered that
      currentAccessPermission.setReadOnly() is called in method
      pdfbox.pdmodel.encryption.PublicKeySecurityHandler#prepareForDecryption but
      NOT in
      pdfbox.pdmodel.encryption.StandardSecurityHandler#prepareForDecryption.
      Could you please explain why there is the difference? As we're using
      StandardSecurityHandler, it appears ReadOnly is never set..

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: