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

--- Comment #2 from Andreas Beeker <[email protected]> ---
Created attachment 31021
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31021&action=edit
encrypted doc - AES-128 with 256 bit key

This attachment is a Word 2010 encrypted .docx - with customized encryption
settings. I have only changed the keysize from 128 to 256 bits, but it might be
neccessary to change other encryption settings too. Currently POI can't open
this file.

Libre Office 4.0 can't display the file too, but the ms word viewer does.

To test the file simply use the test class of the cspname patch - password is
"pass"

To verify the (registry) settings, have a look in the EncryptionVerifier - the
xml discriptor says 256 bits 

Just for further reference:
- To change the word encryption settings, you'll need to use the "office
administration templates" (just google for your version)
- use the policy editor "gpedit.msc" and add the word adm file under user
policies
- change the registry settings over the templates
- see also
http://www.dslreports.com/forum/r20210979-Office-2007-Enabling-256bit-AES-encryption

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to