RFR: 8343622: AesDkCrypto.stringToKey should not return null [v2]
Weijun Wang
weijun at openjdk.org
Fri Nov 8 14:20:18 UTC 2024
On Thu, 7 Nov 2024 18:32:57 GMT, Sean Mullan <mullan at openjdk.org> wrote:
> There is already a check for a `null` return value in one of the `EncryptedKey` constructors - did you consider instead adding a similar check in the other ctor?
This hides the real reason why the key value cannot be generated, leaving no information for debugging.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21908#issuecomment-2464876450
More information about the security-dev
mailing list