On Thu, 8 Apr 2021 01:42:18 GMT, Hai-May Chao <hc...@openjdk.org> wrote:

>> test/jdk/sun/security/tools/keytool/GenKeyPairSigner.java line 299:
>> 
>>> 297:             System.exit(1);
>>> 298:         }
>>> 299: 
>> 
>> Since you are here, you can check if the new entry is indeed protected by 
>> the new key password.
>
> In testSignerJKS() has made sure that the new entry created with new key 
> password can *only* be accessed when a correct key password is provided in 
> order to retrieve the corresponding signer’s private key.

The new entry protected by the new key password is an existing function, and 
its testing should have been covered.

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

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

Reply via email to