RFR: 8295803: Console should be usable in jshell and other environments [v2]
Alan Bateman
alanb at openjdk.org
Fri Dec 2 08:21:05 UTC 2022
On Thu, 1 Dec 2022 23:38:40 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> I confirmed that the standalone `keytool` did not echo the input, which should be OK for this IMO.
>
> If the console cannot be used anyway inside jshell, then this is good enough.
Naoto has confirmed that the password prompt from keytool does not echo, good!
The intention is that Console be usable in jshell so I think the issue is that readPassword is echo'ing when used in jshell. Maybe someone experimenting with the Console API might run into this but we can separate out that issue.
-------------
PR: https://git.openjdk.org/jdk/pull/11421
More information about the security-dev
mailing list