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

A javakey regression on JDK1.1.6.

XMLWordPrintable



      Name: moC74494 Date: 06/05/98


      When I use javakey with abbreviating to specify the public key and private key,
         the NullPointerException ocuures.
         It doesn't occur on JDK114.

      ----- console log -------
      leo% uname -a
      SunOS leo 5.5.1 Generic_103640-08 sun4u sparc SUNW,Ultra-2
      leo% java -version
      java version "1.1.6"
      leo% javakey -ld

      Scope: sun.security.IdentityDatabase, source file: /project/noc5/java/home/saiba
      /identitydb.obj
      leo% javakey -cs Test true
      Created identity [Signer]Test[identitydb.obj][trusted]
      leo% javakey -ld

      Scope: sun.security.IdentityDatabase, source file: /project/noc5/java/home/saiba
      /identitydb.obj

      [Signer]Test[identitydb.obj][trusted]
              no keys
              no certificates
              No further information available.
      leo% javakey -gk Test 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)
      leo% javakey -ld

      Scope: sun.security.IdentityDatabase, source file: /project/noc5/java/home/saiba
      /identitydb.obj

      [Signer]Test[identitydb.obj][trusted]
              no keys
              no certificates
              No further information available.
      (Review ID: 33112)
      ======================================================================

            jlueheorcl Jan Luehe (Inactive)
            moanceasunw Mircea Oancea (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: