RFR: 8231107: Allow store password to be null when saving a PKCS12 KeyStore [v2]

Weijun Wang weijun at openjdk.java.net
Tue Oct 26 17:53:32 UTC 2021


> 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.

Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:

  test update

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5950/files
  - new: https://git.openjdk.java.net/jdk/pull/5950/files/7d789775..aae1b0c1

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5950&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5950&range=00-01

  Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5950.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5950/head:pull/5950

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



More information about the security-dev mailing list