Details

    • Type: Bug
    • Status: Pull Request Sent (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0.GA
    • Fix Version/s: None
    • Component/s: Security, Test Suite
    • Labels:
      None
    • Environment:

      IBM JDK

      Description

      Some tests in org.picketlink.test.identity.federation.api.saml.v2.SignatureValidationUnitTestCase from redhat-picketlink fails on IBM JDK.

      mvn -f modules/federation test -Dtest=SignatureValidationUnitTestCase

      javax.xml.crypto.dsig.XMLSignatureException: java.io.IOException: Invalid ASN.1 format of DSA signature
      	at org.apache.jcp.xml.dsig.internal.dom.DOMSignatureMethod.sign(DOMSignatureMethod.java:230)
      	at org.apache.jcp.xml.dsig.internal.dom.DOMXMLSignature.sign(DOMXMLSignature.java:399)
      	at org.picketlink.identity.federation.core.util.XMLSignatureUtil.signImpl(XMLSignatureUtil.java:741)
      	at org.picketlink.identity.federation.core.util.XMLSignatureUtil.sign(XMLSignatureUtil.java:473)
      	at org.picketlink.identity.federation.api.saml.v2.sig.SAML2Signature.sign(SAML2Signature.java:216)
      	at org.picketlink.identity.federation.api.saml.v2.sig.SAML2Signature.sign(SAML2Signature.java:150)
      	at org.picketlink.test.identity.federation.api.saml.v2.SignatureValidationUnitTestCase.testAuthnRequestCreationWithSignature(SignatureValidationUnitTestCase.java:84)
      ...
      

      Note: in the tests, using RSA instead of DSA works for IBM JDK.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pcraveiro Pedro Igor Silva
                Reporter:
                okotek Ondrej Kotek
                Tester:
                Ondrej Kotek
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: