Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3106

getEndpointChannelBindings() isn't working as expected with BouncyCastle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.7.1, 1.9.0, 1.10.0, 1.10.1, 1.11.0, 1.11.1
    • 1.12.0
    • client, java, security
    • None

    Description

      With BouncyCastle 1.65 the code in https://github.com/apache/kudu/blob/25ae6c5108cc84289f69c467d862e298d3361ea8/java/kudu-client/src/main/java/org/apache/kudu/util/SecurityUtil.java#L136-L159 isn't working as expected throwing an exception:

      java.lang.RuntimeException: cert uses unknown signature algorithm: SHA256WITHRSA
      

      It seems BouncyCastle 1.65 converts the name of the certificate signature algorithm uppercase.

      Attachments

        Activity

          People

            aserbin Alexey Serbin
            aserbin Alexey Serbin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: