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

Reformat keytool and jarsigner output for keys with a named parameter set

XMLWordPrintable

        Many keytool and jarsigner output messages mention keysizes but keysize does not apply to all keys, for example, the new ML-DSA keys. We should reformat these messages to be friendly with these new keys. For keys with a named parameter set, we only need to mention its name.

        For example, when a ML-DSA key pair is generated, keytool currently shows

            Generating -1 bit ML-DSA-44 key pair...

        Or, a warning might show

            <alias> uses a -1-bit ML-DSA-44 key which is considered a security risk. This key size will be disabled in a future update.

              weijun Weijun Wang
              weijun Weijun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: