RFR: 8354469: Keytool exposes the password in plain text when command is piped using | grep [v6]

Weijun Wang weijun at openjdk.org
Thu Sep 25 16:49:18 UTC 2025


> Allow password hiding even if there is no `System.console`. A manual test is included.

Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:

  add a warning for non-console interactive UI

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/27196/files
  - new: https://git.openjdk.org/jdk/pull/27196/files/d57f56c4..9504e8e7

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27196&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27196&range=04-05

  Stats: 67 lines in 2 files changed: 57 ins; 2 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/27196.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27196/head:pull/27196

PR: https://git.openjdk.org/jdk/pull/27196


More information about the security-dev mailing list