keytool prints out wrong key algorithm for -importpass command

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 19
    • Affects Version/s: None
    • Component/s: 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]

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

              Created:
              Updated:
              Resolved: