RFR: 8298420: PEM API: Implementation (Preview) [v2]
Anthony Scarpino
ascarpino at openjdk.org
Tue Jul 30 21:08:34 UTC 2024
On Mon, 29 Jul 2024 23:03:02 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> I assuming you are suggesting to check when the property is used? Having an error message when loading would probably be a customer call generator.
>> PEM already throws an exception if the property is not set, EPKI.encryptKey() does not. I could add one to the latter.
>
> I'm afraid that someone will overwrite the java.security file and remove that property. Then wonder what will happen and if the error message is clear.
I added the exception
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r1697594207
More information about the security-dev
mailing list