[gnutls-devel] GnuTLS | Draft: Adjust RSA key size restrictions (!1624)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Aug 4 18:03:47 CEST 2022

Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1624 was reviewed by Alexander Sosedkin

  <!-- Get preloaded note discussion-->
Alexander Sosedkin started a new discussion on lib/nettle/pk.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1624#note_1051200017

> +			/* RSA key size shorter than 1024-bit is not allowed.  */
> +			if (unlikely(pub.size < 128)) {
> +				ret = gnutls_assert_val(GNUTLS_E_INVALID_REQUEST);

Shouldn't it fall under `GNUTLS_CERT_INSECURE_ALGORITHM`, especially in verification case?

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1624
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220804/3c03d672/attachment-0001.html>

More information about the Gnutls-devel mailing list