RFR: 8354469: Keytool exposes the password in plain text when command is piped using | grep
Weijun Wang
weijun at openjdk.org
Wed Sep 10 15:53:07 UTC 2025
Allow password hiding even if there is no `System.console`. A manual test is included.
-------------
Commit messages:
- the fix
Changes: https://git.openjdk.org/jdk/pull/27196/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27196&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8354469
Stats: 278 lines in 3 files changed: 247 ins; 4 del; 27 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