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

javakey (jdk1.1.6) fails when key pair is generated without storing it in files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.6
    • security-libs

      If one runs
      javakey -gk <name> DSA <key len>

      (with JDK1.1.6)
      one gets:

      javakey -gk "AV_Beans_CA" DSA 512
      java.lang.NullPointerException
              at sun.security.provider.Main.generateKeyPair(Main.java:1022)
              at sun.security.provider.Main.generateCmd(Main.java:721)
              at sun.security.provider.Main.run(Main.java:1394)
              at sun.security.provider.Main.main(Main.java:1423)

      javakey -gk "AV_Beans_CA" DSA 512 AV_Beans_CA_pub AV_Beans_CA_priv

      works fine.

            jlueheorcl Jan Luehe (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: