ICEpdf
  1. ICEpdf
  2. PDF-155

Support Public Key Security Handlers

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      -
    • Assignee Priority:
      P3
    • Support Case References:
    • Workaround Description:
      The document in question uses the new Public Key Security Handler. ICEpdf does not support this type of encryption.

      Description

      SEVERE: Error loading PDF Document.
      java.lang.NullPointerException
      at java.lang.System.arraycopy(Native Method)
      at org.icepdf.core.pobjects.security.StandardEncryption.encryptionKeyAlgorithm(StandardEncryption.java:330)
      at org.icepdf.core.pobjects.security.StandardEncryption.calculateUserPassword(StandardEncryption.java:534)
      at org.icepdf.core.pobjects.security.StandardEncryption.authenticateUserPassword(StandardEncryption.java:663)
      .............
      Feb 9, 2010 4:13:06 PM org.icepdf.ri.common.SwingController openDocument
      FINE: Error opening document.
      java.io.IOException
      at org.icepdf.core.pobjects.Document.setInputStream(Document.java:476)
      at org.icepdf.core.pobjects.Document.setFile(Document.java:210)
      1. BPVC_IIAVI_EDTN_2010-sec.pdf
        324 kB
        Tyler Johnson
      2. Rev8709.pdf
        379 kB
        Tyler Johnson

        Activity

        Tyler Johnson created issue -
        Tyler Johnson made changes -
        Field Original Value New Value
        Attachment Rev8709.pdf [ 12199 ]
        Tyler Johnson made changes -
        Salesforce Case [5007000000AqEFW]
        Patrick Corless made changes -
        Summary Unable to open encrypted document Support Public Key Security Handlers
        Issue Type Bug [ 1 ] New Feature [ 2 ]
        Workaround Description The document in question uses the new Public Key Security Handler. ICEpdf does not support this type of encryption.
        Fix Version/s 4.1 [ 10227 ]
        Patrick Corless made changes -
        Fix Version/s 4.2 [ 10243 ]
        Fix Version/s 4.1 [ 10227 ]
        Tyler Johnson made changes -
        Salesforce Case [5007000000AqEFW] [5007000000AqEFW, 5007000000DZJzw]
        Tyler Johnson made changes -
        Attachment BPVC_IIAVI_EDTN_2010-sec.pdf [ 12591 ]
        Patrick Corless made changes -
        Assignee Priority P3
        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.
        Patrick Corless made changes -
        Fix Version/s 4.2 [ 10243 ]
        Hide
        Norbert Pfistner added a comment -

        We also got this Bug in our application an would appriciate to get this fixed soon. The troubling PDF is 128-bit AES password entcrypted.

        Show
        Norbert Pfistner added a comment - We also got this Bug in our application an would appriciate to get this fixed soon. The troubling PDF is 128-bit AES password entcrypted.
        Patrick Corless made changes -
        Fix Version/s 4.3 [ 10266 ]
        Patrick Corless made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Patrick Corless made changes -
        Fix Version/s 5.0 [ 10314 ]
        Fix Version/s 4.3 [ 10266 ]
        Patrick Corless made changes -
        Fix Version/s 5.0 [ 10314 ]
        Patrick Corless made changes -
        Fix Version/s 5.2 [ 10970 ]
        Hide
        Norbert Pfistner added a comment -

        Fix Version is 5.2, but resolution is "unresolved" ?
        And 5.0.6_P01 is released ... ?

        What's about this bug?

        Show
        Norbert Pfistner added a comment - Fix Version is 5.2, but resolution is "unresolved" ? And 5.0.6_P01 is released ... ? What's about this bug?
        Hide
        Patrick Corless added a comment -

        We use the fixed key target various bugs to a release.

        ICEpdf 5.0.6_P01 has been release and is available for download for supported customers.

        Show
        Patrick Corless added a comment - We use the fixed key target various bugs to a release. ICEpdf 5.0.6_P01 has been release and is available for download for supported customers.
        Patrick Corless made changes -
        Priority Trivial [ 5 ] Minor [ 4 ]
        Hide
        Patrick Corless added a comment -

        Norbert, we have a fix in for PDF-851 which may address the issue you are seeing with 128-bit AES encryption. If you have a sample file to test it would be appreciated.

        Show
        Patrick Corless added a comment - Norbert, we have a fix in for PDF-851 which may address the issue you are seeing with 128-bit AES encryption. If you have a sample file to test it would be appreciated.
        Patrick Corless made changes -
        Fix Version/s 5.3 [ 12070 ]
        Fix Version/s 5.2 [ 10970 ]
        Hide
        Patrick Corless added a comment -

        The examples associated with this case are actually just AES 128 bit encrypted which ICEpdf has supported since version 5.0. I will need to see if we have any examples of true public key encryption as defined by section 7.6.4.2. of the PDF specification.

        Show
        Patrick Corless added a comment - The examples associated with this case are actually just AES 128 bit encrypted which ICEpdf has supported since version 5.0. I will need to see if we have any examples of true public key encryption as defined by section 7.6.4.2. of the PDF specification.
        Patrick Corless made changes -
        Fix Version/s 6.1 [ 12070 ]
        Patrick Corless made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Patrick Corless made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        Hide
        Patrick Corless added a comment -

        Quite a bit of knowledge was gain by implementing signature validation, supporting this type of encryption doesn't seem as daunting now.

        Show
        Patrick Corless added a comment - Quite a bit of knowledge was gain by implementing signature validation, supporting this type of encryption doesn't seem as daunting now.
        Arran Mccullough made changes -
        Support Case References Support Case #13789 - https://icesoft.my.salesforce.com/5007000001bgh8Y

          People

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

            Dates

            • Created:
              Updated: