Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-552

Use explicit NULL value for parameters of digest algorithm identifier for improved compatibility

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 6.0-milestone-1
    • Component/s: Crypto
    • Labels:
      None
    • Tests:
      Unit
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Parameters are nominally optional, so they could be skipped
      altogether, instead of using NULL. However, a version of some RFC had forgotten to include the specifier 'OPTIONAL'. So, to be safe, most implementation include a DER NULL value (0x05 0x00).

      So, to be on the safe side, generators should include the NULL value, and decoders should be able to handle the omitted parameters.

        Attachments

          Activity

            People

            • Assignee:
              softec Denis Gervalle
              Reporter:
              softec Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: