Integrated: 8231107: Allow store password to be null when saving a PKCS12 KeyStore
Weijun Wang
weijun at openjdk.java.net
Wed Dec 1 01:04:34 UTC 2021
On Thu, 14 Oct 2021 14:43:32 GMT, Weijun Wang <weijun at openjdk.org> wrote:
> You can create a password-less PKCS12 KeyStore file now by calling `ks.store(outStream, null)` no matter what the default cert protection algorithm and Mac algorithm are defined in `java.security`.
>
> Note: the system properties set in `ToolsJDK.gmk` to generate `cacerts` must be retained (at the moment) because the tool is launched with BOOT_JDK.
This pull request has now been integrated.
Changeset: 7049c13c
Author: Weijun Wang <weijun at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7049c13cf4bf4cdfcd0c8f0fa96bf4c3748ae1e7
Stats: 70 lines in 4 files changed: 37 ins; 16 del; 17 mod
8231107: Allow store password to be null when saving a PKCS12 KeyStore
Reviewed-by: mullan
-------------
PR: https://git.openjdk.java.net/jdk/pull/5950
More information about the security-dev
mailing list