You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2010/05/19 10:49:18 UTC

DO NOT REPLY [Bug 49311] New: [PATCH] Initial support for reading AES-encrypted/write-protected OOXML files

https://issues.apache.org/bugzilla/show_bug.cgi?id=49311

           Summary: [PATCH] Initial support for reading
                    AES-encrypted/write-protected OOXML files
           Product: POI
           Version: 3.7-dev
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POIFS
        AssignedTo: dev@poi.apache.org
        ReportedBy: max.valjanski@gmail.com


I modified POI for support of reading AES encrypted OOXML documents
using build-in JRE cryptography. Is it ok to commit it? Patch and test
data is attached.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 49311] [PATCH] Initial support for reading AES-encrypted/write-protected OOXML files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49311

--- Comment #1 from Maxim Valyanskiy <ma...@gmail.com> 2010-05-19 04:50:06 EDT ---
Created an attachment (id=25453)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25453)
patch

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 49311] [PATCH] Initial support for reading AES-encrypted/write-protected OOXML files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49311

--- Comment #5 from Nick Burch <ni...@alfresco.com> 2010-05-25 12:27:43 EDT ---
An xlsx file stored as encrypted contents in an OLE2 file, now that's a nasty
way to do it :/

At least it explains why your .xslx file was readable by poifs...

Commit away!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 49311] [PATCH] Initial support for reading AES-encrypted/write-protected OOXML files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49311

--- Comment #2 from Maxim Valyanskiy <ma...@gmail.com> 2010-05-19 04:50:53 EDT ---
Created an attachment (id=25454)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25454)
protect.xlsx

test data

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 49311] [PATCH] Initial support for reading AES-encrypted/write-protected OOXML files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49311

--- Comment #3 from Nick Burch <ni...@alfresco.com> 2010-05-25 12:11:28 EDT ---
As long as it fits in nicely with the current MD4 protected document stuff
(which might be HSSF only, iirc), I don't see why this can't go in

Code looks fine, but please could you ensure the apache license header gets
added before committing for the new files?

Encryption wise, we already have the export notice in place, so we're fine for
that.

Oh, and shouldn't that test file be protect.xls and not .xlsx?

Otherwise, do please commit :)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 49311] [PATCH] Initial support for reading AES-encrypted/write-protected OOXML files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49311

Maxim Valyanskiy <ma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Maxim Valyanskiy <ma...@gmail.com> 2010-05-27 09:24:04 EDT ---
commited, r948825

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 49311] [PATCH] Initial support for reading AES-encrypted/write-protected OOXML files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49311

--- Comment #4 from Maxim Valyanskiy <ma...@gmail.com> 2010-05-25 12:20:42 EDT ---
Ok, I'm going to add headers and commit tomorrow.

File is really xlsx (zip) stream in encrypted OLE-container

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org