[gnutls-devel] RSAES-PKCS1-v1_5 incompatible behavior

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Dec 28 13:18:17 CET 2012


On Fri, Dec 28, 2012 at 1:03 PM, KIKUCHI Masashi <kikuchi at lepidum.co.jp> wrote:
> Hello,
>
> I sent this mail to bugs at gnutls.org yesterday but I received following
> error message.  So, I re-send it to this ML.
>> You need to subscribe in order to post to this mailing list.

It seems I need to tweak some settings in the ML.

> GnuTLS server randomly sends illformed 'public-key-encrypted' data.
[...]
> The implementation in GnuTLS uses "length m" instead of "length k".
> When the leading byte of "m" is zero, these two length does not match.
> http://git.savannah.gnu.org/cgit/gnutls.git/tree/lib/nettle/pk.c?id=gnutls_3_1_5#n224

I've committed this patch which should solve that issue. I'll check it
further after holidays.
https://gitorious.org/gnutls/gnutls/commit/7730c6cba3e4d5e1d2c4acf3f433125910635a6e

Thank you for reporting that.

regards,
Nikos



More information about the Gnutls-devel mailing list