Issue 107781 - ODF 1.2 encryption, support urn:-style algorithm names
Summary: ODF 1.2 encryption, support urn:-style algorithm names
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 3.1.1
Hardware: Unknown Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-18 21:38 UTC by barthanssens
Modified: 2013-01-29 21:39 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Encrypted file, password "secret", opens OK in OOo (3.91 KB, application/vnd.oasis.opendocument.text)
2009-12-18 21:45 UTC, barthanssens
no flags Details
Encrypted file,with "urn:"-style algorithm, doesn't open in OOo (3.91 KB, application/vnd.oasis.opendocument.text)
2009-12-18 21:49 UTC, barthanssens
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description barthanssens 2009-12-18 21:38:32 UTC
Apparently OOo 3.1.1 doesn't support urn:-style attribute values (ODF 1.2 part 
III cd1) for manifest:checksum-type / manifest:algorithm-name / manifest:key-
derivation-name just yet.

I've created an encrypted ODT with values SHA1/1K / Blowfish CFB / PBKDF2 and it 
opens just fine in OOo, but replacing the attribute values with urn:oasis... 
seems to fail (OOo opens with a warning that styles.xml contains a Format Error 
at 1,1)
Comment 1 barthanssens 2009-12-18 21:45:25 UTC
Created attachment 66711 [details]
Encrypted file, password "secret", opens OK in OOo
Comment 2 barthanssens 2009-12-18 21:49:14 UTC
Created attachment 66712 [details]
Encrypted file,with "urn:"-style algorithm, doesn't open in OOo
Comment 3 Olaf Felka 2011-03-25 11:34:52 UTC
@ mib: Please have a look.
Comment 4 orcmid 2012-04-11 01:03:17 UTC
(In reply to comment #0)
> Apparently OOo 3.1.1 doesn't support urn:-style attribute values (ODF 1.2 part 
> III cd1) for manifest:checksum-type / manifest:algorithm-name / manifest:key-
> derivation-name just yet.
> I've created an encrypted ODT with values SHA1/1K / Blowfish CFB / PBKDF2 and
> it 
> opens just fine in OOo, but replacing the attribute values with urn:oasis... 
> seems to fail (OOo opens with a warning that styles.xml contains a Format Error 
> at 1,1)

When there is any disparity between the default ODF 1.1 encryption methods supported by OpenOffice.org 3.3.0 and earlier, the package is opened as if there is no encryption.  The result is the styles.xml Format error with that is presumably a consequence of attemptiong to access the ciphertext (a binary file) as if it is unencrypted XML.

These tests need to be repeated with an Apache OpenOffice 3.4 developer snapshot or release candidate.