ICEpdf
  1. ICEpdf
  2. PDF-465

AES encyption permission not correctly being set

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.3
    • Fix Version/s: 4.3.4
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      A client has posted a 128 bit AES encrypted file that can not be printed in the Viewer RI. On closer inspection ICEpdf is not correctly extracting the permission values from the file.

        Activity

        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        Addition of sample file to support drive.

        Show
        Patrick Corless added a comment - Addition of sample file to support drive.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30566 Tue Aug 21 13:25:30 MDT 2012 patrick.corless PDF-465 updated Permission class to properly parse permission that are revision 4 or greater.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/security/Permissions.java
        Hide
        Patrick Corless added a comment -

        The Permssion class responsible for parsing out the permission information from the P value was not parsing encryption revision values greater then 3 and thus the default permission were used. Updated the init method to handle r >= 3 and all is good.

        closing.

        Show
        Patrick Corless added a comment - The Permssion class responsible for parsing out the permission information from the P value was not parsing encryption revision values greater then 3 and thus the default permission were used. Updated the init method to handle r >= 3 and all is good. closing.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30771 Mon Sep 10 10:43:06 MDT 2012 patrick.corless PDF-465 updated Permission class to properly parse permission that are revision 4 or greater.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-4.3.3/icepdf
        Commit graph MODIFY /icepdf/branches/icepdf-4.3.3/icepdf/core/src/org/icepdf/core/pobjects/security/Permissions.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: