Encrypted (password protected) documents

An archive of encrypted documents is provided:

encrypt.zip

Calligra file:

encryptest.odt

Files were created with:

  • OpenOffice.org 3.3
  • Apache OpenOffice 3.4
  • LibreOffice 3.5.1
  • Symphony 3.01

Each is a trivial “Hello world!” text document. The password for each document is “password” (no quotes).

Looking at the markup used by these editors in their default output options, we see the following encryption settings declared:

Manifest:OOO 3.3AOO 3.4LO 3.5.1Symphony 3.01Calligra-2.4
checksum-typeSHA1/1KSHA1/1Kurn:oasis:names:tc:opendocument:xmlns:manifest:1.0#sha256-1kSHA1/1K
algorithm-nameBlowfish CFBBlowfish CFBhttp://www.w3.org/2001/04/xmlenc#aes256-cbcBlowfish CFB
key-derivation-name PBKDF2PBKDF2PBKDF2
key-size161632
iteration-count1024102410241024
start-key-generation-nameSHA1SHA1http://www.w3.org/2000/09/xmldsig#sha256
key-size202032
AOO 3.4 YY Y Y
LO 3.5.1
CalligraNYcksum errYY
Symphony 3.0.1
LO 3.5.2.2 YY Y Y
EuroOffice 2011 YY Read error Y
EuroOffice 2010 YY Read error Y

Note in particular that the AES is new to ODF 1.2, where it is recommended over the legacy Blowfish from ODF 1.0 and ODF 1.1.

The interop challenge here is two-fold:

  1. Is your current editor able to process documents written in these variations?
  2. Are earlier versions of your editor able to process these documents

Abiword 2.8.6 can open encrypt-ooo-33.odt, encrypt-symphony-301.odt, encrypt-aoo-34.odt. It cannot open encrypt-lo-351.odt.

scenarios/20120419/encryption.txt · Last modified: 2012/04/19 13:55 by th
www.ez.nl www.noiv.nl www.opendocsociety.org