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

Weijun Wang weijun at openjdk.org
Mon Oct 6 15:31:27 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:

  one more null check; one less empty check

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27196/files
  - new: https://git.openjdk.org/jdk/pull/27196/files/befc698a..93220920

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

  Stats: 7 lines in 3 files changed: 2 ins; 1 del; 4 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 client-libs-dev mailing list