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

keytool prints out wrong key algorithm for -importpass command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 19
    • None
    • security-libs
    • None

      No matter what -keyalg is given, the output always shows PBEWithMD5AndDES. For example:

      $ printf "chanegit\nchangeit\n" | keytool -keystore ks -storepass changeit -importpass -keyalg PBEWithHmacSHA256Andaes_128 -alias c -v
      Generated PBEWithMD5AndDES secret key
      [Storing ks]

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

              Created:
              Updated:
              Resolved: