[jdk17u-dev] RFR: 6782021: It is not possible to read local computer certificates with the SunMSCAPI provider

Christoph Langer clanger at openjdk.org
Tue Aug 16 19:24:36 UTC 2022


On Tue, 16 Aug 2022 07:45:39 GMT, Christoph Langer <clanger at openjdk.org> wrote:

>> Backport of 5e5500cbd79b40a32c20547ea0cdb81ef6904a3d
>> 
>> On Windows you can now access the local machine keystores using the strings "Windows-MY-LOCALMACHINE" and "Windows-ROOT-LOCALMACHINE"; note the application requires admin privileges.
>> 
>> "Windows-MY" and "Windows-ROOT" remain unchanged, however given these original keystore strings mapped to the current user, I added "Windows-MY-CURRENTUSER" and "Windows-ROOT-CURRENTUSER" so that a developer can explicitly specify the current user location. These two new strings simply map to the original two strings, i.e. no duplication of code paths etc
>> 
>> keystore functionality and API remains unchanged, the local machine keystore types require the manual tests to run in admin mode
>> 
>> Tested on windows, passes tier1 (via GH Actions) and manual tests provided in the patch
>
> I've approved the backport and can help to sponsor it.

> Thanks @RealCLanger , much appreciated - @karianna is away this week, I've been helping him through the backport process, can you or I '/integrate" this?

Nope, we'll have to wait. The alternative is that you create another PR with the same content. But I guess it's not a problem since there will be further transports from jdk17u-dev to jdk17u until 30th of August. So it'll hit the October CPU still when you integrate it next week.

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

PR: https://git.openjdk.org/jdk17u-dev/pull/630


More information about the jdk-updates-dev mailing list