[gnutls-devel] GnuTLS | Increase the limit of TLS PSK usernames (!1581)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Jun 7 11:12:50 CEST 2022




Hannes Reinecke commented on a discussion on lib/gnutls_int.h: https://gitlab.com/gnutls/gnutls/-/merge_requests/1581#note_973651587

>  
>  #define MAX_CIPHER_IV_SIZE 16
>  
> -#define MAX_USERNAME_SIZE 128
> +#define MAX_USERNAME_SIZE 65535

Yes, we should. Otherwise it's not quite obvious as the username size is used in various places, and not all of these relate to PSK handling.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1581#note_973651587
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/20220607/cfa31cac/attachment.html>


More information about the Gnutls-devel mailing list