https://issues.apache.org/bugzilla/show_bug.cgi?id=51165
Bug #: 51165
Summary: [PATCH] Add support for OOXML Agile Encryption
Product: POI
Version: 3.8-dev
Platform: Macintosh
Status: NEW
Severity: enhancement
Priority: P2
Component: POIFS
AssignedTo: dev@poi.apache.org
ReportedBy: gking@iongrid.com
Classification: Unclassified
Created attachment 26966
--> https://issues.apache.org/bugzilla/attachment.cgi?id=26966
git-format-patch @ c7c0e8c implementing agile decryption
Currently (git-svn commit ID c7c0e8c) poifs.crypt generates a RuntimeException
reading past the end of a buffer when presented with an OOXML document that was
created with Agile encryption ([MS-OFFCRYPTO] 2.3.4.10), since both the header
format and the encryption itself are significantly different from the ECMA-376
standard encryption.
This patch adds support for reading the encryption header and decrypting Agile
encrypted documents and changes the Decryptor class into an abstract interface
plus a factory so that different decryption implementations can be applied
depending on the encryption header. The existing ECMA-compliant decryptor has
been renamed EcmaDecryptor to reflect its proper usage.
Additionally, I've renamed the test classes since it appears that even after
adding them to the top-level test suite they weren't being run since the test
harness expects the class name to begin with "Test."
--
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
|