RFR: 8313367: SunMSCAPI cannot read Local Computer certs w/o Windows elevation [v6]
Weijun Wang
weijun at openjdk.org
Tue Oct 15 17:10:30 UTC 2024
On Mon, 16 Sep 2024 21:22:45 GMT, rebarbora-mckvak <duke at openjdk.org> wrote:
>> This fixes the defect described at https://bugs.openjdk.org/browse/JDK-8313367
>>
>> If the process does not have write permissions, the store is opened as read-only (instead of failing).
>>
>> Please note that permissions to use a certificate in a local machine store must be granted - in a management console, select a certificate, right-click -> All tasks... -> Manage Private Keys... -> add Full control to user.
>
> rebarbora-mckvak has updated the pull request incrementally with one additional commit since the last revision:
>
> 8313367: test updated to always access Local Computer stores
test/jdk/sun/security/mscapi/AllTypes.java line 2:
> 1: /*
> 2: * Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
Do not remove the old year. This should be "Copyright (c) 2022, 2024, Oracle..."
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16687#discussion_r1801603030
More information about the security-dev
mailing list