Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4341800

Linux: RSA keypair generator is not available in JDK 1.3.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      linux-rc1
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 05/29/2000



      JDK version:
      java version "1.3.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta-b07)
      Java HotSpot(TM) Client VM (build 1.3.0beta-b04, mixed mode)

      Test src/SecurityTools/KeyTool/GenKeyTest from Security testsuite
      (/net/sqesvr/vsn/SECURITY/kestrel_jdk/TestSuite) fails with the following error message:

      keytool error: java.security.NoSuchAlgorithmException: RSA KeyPairGenerator not available.

      Keytool command strings for witch the test fails are:

      keytool -genkey -alias another0 -keyalg RSA -keysize 768 -sigalg MD2withRSA -dname cn=YunKe -keypass keypasswd -keystore mykeystore -storepass storepasswd
      keytool -genkey -alias another1 -keyalg RSA -keysize 768 -sigalg MD5withRSA -dname cn=YunKe -keypass keypasswd -keystore mykystore -storepass storepasswd
      keytool -genkey -alias another2 -keyalg RSA -keysize 768 -sigalg SHA1withRSA -dname cn=YunKe -keypass keypasswd -keystore mykeystore -storepass storepasswd

      File $JDK_HOME/jre/lib/security/java.security contains the following strings with providers
      information:

      security.provider.1=sun.security.provider.Sun
      security.provider.2=com.sun.rsajca.Provider
      security.provider.3=com.sun.crypto.provider.SunJCE
      security.provider.4=COM.rsa.jsafe.provider.JsafeJCE

      The test passes in Solaris JDK 1.3 with the same java.security file.
      The test does not pass in Linux JDK 1.2.2.

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duke J. Duke (Inactive)
              Reporter:
              irasunw Ira Ira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: