RFR: 8284194: Allow empty subject fields in keytool [v2]

Sean Mullan mullan at openjdk.java.net
Thu May 12 14:15:10 UTC 2022


On Thu, 12 May 2022 13:48:46 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> I've already modified the prompt a little before the CSR is finalized. How about
> 
> ```
> Enter the distinguished name. Provider a single dot (.) to leave a sub-component empty or press ENTER to use the default value in braces.
> ```
> 
> Hopefully this is not too long, and macOS users know "ENTER" is "return", and people won't debate on "braces" or "brackets".

Ok, I like that. One typo though: s/Provider/Provide

> As for the "[EMPTY]" prompt, the user has already entered "." in the first round and we always remember the inputs as the new default values in the next round so that they only need to enter the components they want to update.

What about just "[]"? I think if you keep EMPTY, you should really define what that keyword means, but that might make the text too verbose.

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

PR: https://git.openjdk.java.net/jdk/pull/8667



More information about the security-dev mailing list