Uploaded image for project: 'Metadata Aggregator'
  1. Metadata Aggregator
  2. MDA-224

array bounds error in XMLSignatureSigningStage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.10.0
    • Component/s: DOM Metadata
    • Labels:
      None

      Description

      If the includeKeyValue property is set (which it is not by default) then XMLSignatureSigningStage attempts to find a public key value to include in the signature.

      If the pubKey property is set, the public key will be taken from that. If not, the code attempts to extract the public key from the first provided certificate. If no certificates have been provided, this results in an IndexOutOfBoundsException.

      It would be better to simply omit the key value in this case.

        Attachments

          Activity

            People

            Assignee:
            ian@iay.org.uk Ian Young
            Reporter:
            ian@iay.org.uk Ian Young
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 31 minutes
                31m