RFR: 8327461: KeyStore getEntry is not thread-safe [v2]
Hai-May Chao
hchao at openjdk.org
Thu Mar 7 17:20:08 UTC 2024
> Change was made to engineGetEntry() in PKCS12KeyStore to extract the key and certificate chain from Entry only once. This is because the entry may get updated between engineGetKey() and engineGetCertificateChain() which causes inconsistent result. A new test was added to assess and manipulate PKCS12KeyStore with read and write operations concurrently from multiple threads. Thanks!
Hai-May Chao has updated the pull request incrementally with one additional commit since the last revision:
Update bug number in the test
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18156/files
- new: https://git.openjdk.org/jdk/pull/18156/files/44862602..97bf0ece
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18156&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18156&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/18156.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18156/head:pull/18156
PR: https://git.openjdk.org/jdk/pull/18156
More information about the security-dev
mailing list