ICEpdf
  1. ICEpdf
  2. PDF-116

ICEpdf cannot open Adobe 9 Pro encrypted PDF files

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2, 4.0 - Beta
    • Fix Version/s: 4.3
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      -
    • Assignee Priority:
      P3
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      The following demonstrates two common techniques to encrypt a PDF document using Acrobat Pro 9.0 that is compatible with ICEpdf 4.0.

      Encrypting an Open Documents
      - Go to the application menu bar and execute "Advanced -> Security -> Encrypt with Password".
      - A new dialog "Password Security - Setting" will open.
      - Change the "Compatibility:" select one menu property to "Acrobat 5.0 and later".
      - Click the "ok" button to save these settings.
      - The document will now encrypt using ICEpdf compatible encryption.

      Encrypting a Document with Distiller
      - Select the "Adobe PDF" printer when printing a document.
      - Once selected press the "Properties..." button to change the "Adobe PDF" printer properties.
      - A new dialog "Adobe PDF Document Properties" will open.
      - Click on the "Edit..." button for the "Default Settings:" property.
      - A new dialog "Standard - Adobe PDF Settings" dialog will open.
      - Change the "Compatibility:" select one menu property to "Acrobat 5.0 (PDF 1.4)" and click on "OK".
      - A prompt to save the settings will appear; name the changed property to "ICEpdf 4.0 Compat.joboptions", click the "Save" button and the dialogs will close.
      - Click "OK" on the "Adobe PDF Document Properties" dialog to close it.
      - Print to the "Adobe PDF" printer with the new encryption options.
      Show
      The following demonstrates two common techniques to encrypt a PDF document using Acrobat Pro 9.0 that is compatible with ICEpdf 4.0. Encrypting an Open Documents - Go to the application menu bar and execute "Advanced -> Security -> Encrypt with Password". - A new dialog "Password Security - Setting" will open. - Change the "Compatibility:" select one menu property to "Acrobat 5.0 and later". - Click the "ok" button to save these settings. - The document will now encrypt using ICEpdf compatible encryption. Encrypting a Document with Distiller - Select the "Adobe PDF" printer when printing a document. - Once selected press the "Properties..." button to change the "Adobe PDF" printer properties. - A new dialog "Adobe PDF Document Properties" will open. - Click on the "Edit..." button for the "Default Settings:" property. - A new dialog "Standard - Adobe PDF Settings" dialog will open. - Change the "Compatibility:" select one menu property to "Acrobat 5.0 (PDF 1.4)" and click on "OK". - A prompt to save the settings will appear; name the changed property to "ICEpdf 4.0 Compat.joboptions", click the "Save" button and the dialogs will close. - Click "OK" on the "Adobe PDF Document Properties" dialog to close it. - Print to the "Adobe PDF" printer with the new encryption options.

      Description

      ICEpdf is unable to open two Adobe 9 Pro encrypted files, one being password encrypted and the other certificate. Here are the results for the two sample files:

      - IP-article-beta-cert.pdf - Running this certificate encrypted file with 3.1.2 and 4.0-beta results in the following error dialog: "This may be the result of an invalid password or missing security provider" and the following exception:

      Jan 6, 2010 10:17:45 AM org.icepdf.ri.common.SwingController openDocument
      FINE: Error opening document.
      org.icepdf.core.exceptions.PDFSecurityException: Security Provider Not Found.
      at org.icepdf.core.pobjects.security.SecurityManager.<init>(Unknown Source)
      at org.icepdf.core.pobjects.Document.makeSecurityManager(Unknown Source)

      - IP-article-beta-encrypt.pdf - This password protected file produces a dialog indicating that "the file may be corrupt or not a supported type" and the following exception:

      Jan 6, 2010 10:19:27 AM org.icepdf.ri.common.SwingController openDocument
      FINE: Error opening document.
      java.io.IOException
      at org.icepdf.core.pobjects.Document.setInputStream(Unknown Source)
      at org.icepdf.core.pobjects.Document.setFile(Unknown Source)
      at org.icepdf.ri.common.SwingController.openDocument(SwingController.java:1269)
      at org.icepdf.ri.common.SwingController.openFileInSomeViewer(SwingController.java:1237)

        Issue Links

          Activity

          Hide
          Patrick Corless added a comment -

          marking as resolved, as we support AES 128 encryption and can open most acrobat 9 files. However

          Work still needs to be done specifically in these two areas for full encryption support.

          Show
          Patrick Corless added a comment - marking as resolved, as we support AES 128 encryption and can open most acrobat 9 files. However AES 256 http://jira.icefaces.org/browse/PDF-343 Public key encryption http://jira.icefaces.org/browse/PDF-155 Work still needs to be done specifically in these two areas for full encryption support.
          Hide
          Patrick Corless added a comment -

          Unfortunately no time to fit into 4.2.

          Show
          Patrick Corless added a comment - Unfortunately no time to fit into 4.2.

            People

            • Assignee:
              Patrick Corless
              Reporter:
              Tyler Johnson
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: