On Sun, 22 Nov 2026 23:02:06 GMT, Weijun Wang <[email protected]> wrote:

>> Daisuke Yamazaki has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Private key fix
>
> Another thing, you added the private key case in the test but I guess it 
> should pass even without your latest src change. Is there a way to confirm 
> the key is indeed created in the correct place? Java probably does not know 
> about it, but I hope there should be a Windows tool/API can find it out.

Hi @wangweij,

Thanks for your review.

> Another thing, you added the private key case in the test but I guess it 
> should pass even without your latest src change. Is there a way to confirm 
> the key is indeed created in the correct place? Java probably does not know 
> about it, but I hope there should be a Windows tool/API can find it out.

You're right. The Java test passes without the fix.
I've verified the private key's location and deletion by 
`CspKeyContainerInfo.MachineKeyStore` using PowerShell.
Would you prefer a native regression test to check the key's location as well?

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

PR Comment: https://git.openjdk.org/jdk/pull/33785#issuecomment-7129471464

Reply via email to