RFR: 8273977: Reduce unnecessary BadPaddingExceptions in RSAPadding

Lari Hotari duke at openjdk.java.net
Thu Nov 4 10:43:10 UTC 2021


On Wed, 3 Nov 2021 21:56:10 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

>>> Hi @lhotari, please submit an OCA at https://oca.opensource.oracle.com/ if you are contributing on your own behalf. If you are contributing on your employers behalf, please send me an e-Mail at [dalibor.topic at oracle.com](mailto:dalibor.topic at oracle.com) so that I can verify your account.
>> 
>> @robilad This is a contribution on my own behalf. I have signed [OCA in 2014 while contributing to Btrace](https://github.com/btraceio/btrace/pull/101#issuecomment-63333404). Is that sufficient? I cannot sign OCA again online, it gives me an error message "The provided GitHub username lhotari does already appear in an existing OCA, please use another one.".
>
> @lhotari I think you have got the reason to create the BadPaddingExceptions.  Did you want to close this bug, or fix it alternativey without break the constant-time purpose?

@XueleiFan You are right. I'll follow up with a change which doesn't break the constant-time purpose.

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

PR: https://git.openjdk.java.net/jdk/pull/5581



More information about the security-dev mailing list