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

Weijun Wang weijun at openjdk.org
Thu Sep 11 17:57:57 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:

  use ByteBuffer::put for newline

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27196/files
  - new: https://git.openjdk.org/jdk/pull/27196/files/3ecf2443..5fa7b2f7

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

  Stats: 6 lines in 1 file changed: 1 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