Uploaded image for project: 'OASIS Open Document Format for Office Applications (OpenDocument) TC'
  1. OASIS Open Document Format for Office Applications (OpenDocument) TC
  2. OFFICE-2561

ODF 1.2 Part 1 CD04: protection-key string encoding underspecified

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Applied
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: ODF 1.2 Part 1 CD 4
    • Fix Version/s: ODF 1.2
    • Component/s: Security
    • Labels:
      None
    • Environment:

      This issue applies to all forms of ODF 1.2 Part 1 CD04 and to earlier working drafts and CDs as well. The issue also applies to ODF 1.1 and ODF 1.0.

    • Proposal:
      Hide

      In each of section 19.699 table:protection-key and section 19.852 text:protection-key add the following paragraph at the end:

      """
      The value of the attribute is the MIME Base 64 Content-Transfer-Encoding of the binary calculated hash value in accordance with section 6.8 of [rfc2045].
      """

      Show
      In each of section 19.699 table:protection-key and section 19.852 text:protection-key add the following paragraph at the end: """ The value of the attribute is the MIME Base 64 Content-Transfer-Encoding of the binary calculated hash value in accordance with section 6.8 of [rfc2045] . """
    • Resolution:
      Hide

      In the ODF 1.2 schema definitions for attributes table:protection-key and text:protection-key, change the <ref name="string"> to <ref name="base64Binary">.

      In the Appendix on changes from previous versions, indicate that table:protection-key and text:protection-key values are now required to be encoded in accordance with XML Schema datatype base64Binary.

      It is not necessary to provide additional text in 19.699 table:protection-key and 19.852 text:protection-key. If it is felt necessary to add anything, an appropriate added paragraph would be

      """
      The value of the attribute is the Base 64 encoding of the calculated hash value in accordance with section 3.2.16 of [xmlschema-2].
      """

      Show
      In the ODF 1.2 schema definitions for attributes table:protection-key and text:protection-key, change the <ref name="string"> to <ref name="base64Binary">. In the Appendix on changes from previous versions, indicate that table:protection-key and text:protection-key values are now required to be encoded in accordance with XML Schema datatype base64Binary. It is not necessary to provide additional text in 19.699 table:protection-key and 19.852 text:protection-key. If it is felt necessary to add anything, an appropriate added paragraph would be """ The value of the attribute is the Base 64 encoding of the calculated hash value in accordance with section 3.2.16 of [xmlschema-2] . """

      Description

      The data type for table:protection-key (19.699) and text:protection-key (19.852) is given as string.

      Although those digest algorithms identified in section 5.9 of [xmlenc-core] specify that those results are to be converted to Base64 encodings, the specific Base64 encoding is not identified.

      Because it is permissible to introduce additional, arbitrary digest algorithms, it is also not clear what encoding is to be used for their results, especially for algorithms that only specify their results as sequences of bits.

      Inspection of examples in [xmlenc-core] reveals that MIME Base 64 encoding is being used. This proposal establishes that encoding as the encoding that is used for all protection-key attribute values.

        Attachments

          Activity

            People

            • Assignee:
              orcmid Dennis Hamilton (Inactive)
              Reporter:
              orcmid Dennis Hamilton (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: