Integrated: 8339347: keytool -importpass insists prompting the user even if there is no terminal

Hai-May Chao hchao at openjdk.org
Thu Sep 5 20:20:59 UTC 2024


On Wed, 4 Sep 2024 16:10:50 GMT, Hai-May Chao <hchao at openjdk.org> wrote:

> Given the changes to the System.console() behavior, where it no longer returns null when a write pipe is connected to the Java process, keytool needs to be updated to determine whether an interactive terminal is attached.

This pull request has now been integrated.

Changeset: 8fb8cd85
Author:    Hai-May Chao <hchao at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8fb8cd85b7bd2e004329b4968f9564f340002cc1
Stats:     51 lines in 2 files changed: 49 ins; 0 del; 2 mod

8339347: keytool -importpass insists prompting the user even if there is no terminal

Reviewed-by: weijun

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

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


More information about the security-dev mailing list