-
Type: Bug
-
Status: Applied
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: ODF 1.2 Part 1 CD 4
-
Fix Version/s: ODF 1.2 Part 1 CD 5
-
Labels:None
-
Environment:
This issue applies to all versions of ODF 1.2 Part 1 CD04, earlier drafts, and to ODF 1.1 and ODF 1.0
-
Proposal:
-
Resolution:
The table:protection-key (19.699) and text:protection-key (19.852) attributes carry the results of hashing of sequences of binary bits supplied to a digest algorithm. The input is internal computer data.
For ODF 1.2 Part 1 protection-key attributes, it is not specified how those binary bits are obtained nor how a consumer of a document holding such keys is expected to obtain the same binary bits and confirm their submission by arriving at the same hash-code result.
This proposal establishes that UTF-8 encoding in binary octets shall be used.
This proposal establishes that the permissible Unicode characters shall be the same ones permitted for encoding of XML document in Unicode.
Finally, truncation or limitation of the string differently by the consumer than is applied by the producer requires that there be some agreement on where truncation shall occur. The value of 2^61-1 octets is chosen because that is the limitation on the input for SHA1. It would be wise to find a more-practical though generous limitation. This proposal makes no recommendation.