Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.1.1
-
Fix Version/s: 5.1.2
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
-
Support Case References:Support Case #13253 - https://icesoft.my.salesforce.com/5007000000zOLZG
Description
The file in question uses 128 bit RC4 AES encryption. For some reason the password callback is being fired by the security handler. Further investigation is needed.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 5.1.2 [ 11872 ] |
Arran Mccullough
made changes -
Support Case References | Support Case #13253 - https://icesoft.my.salesforce.com/5007000000zOLZG |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #43922 | Mon Jan 19 15:24:18 MST 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/security/StandardEncryption.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/security/EncryptionDictionary.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #43923 | Mon Jan 19 15:24:42 MST 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/security/StandardEncryption.java
MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/security/EncryptionDictionary.java |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #43925 | Tue Jan 20 08:45:11 MST 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/security/StandardEncryption.java
|
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
After quite a bit of tracing it appears that we had an issue with how we are calculating the encryption key for v4 of the specification. The main issue was with regards to step 6 implementation or lack there of.
"If document metadata is not being encrypted, pass 4 bytes with the value of 0xFFFFFFFF to the MD5 hash, Security handlers of revision 4 or greater)"
Interestingly enough this bug has been around for quite some time.