[gnutls-devel] GnuTLS | Forbid uncolicited CompressedCertificate messages (!1678)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Dec 20 21:09:56 CET 2022

Alexander Sosedkin commented:

as of d78beb5d it looks much better. Unsolicited compressed certs result in alerts, and I think now it's just the alerts that might need tweaking:

* No compression algorithms enabled, sending compressed certificates results in "decode error", I've expected "unexpected_message" (based on my interpretation of the generic rule of https://datatracker.ietf.org/doc/html/rfc8446#section-4).
* Some compression algorithms enabled, sending certificates compressed with an unsupported algorithm results in "illegal_parameter", I've expected "bad_certificate" (not super confident about that one. I've based my understanding on https://datatracker.ietf.org/doc/html/rfc8879#section-4-7, will happily stand corrected if there's some other rule applicable here).

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1678#note_1216750210
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/20221220/b91dc2ba/attachment-0001.html>

More information about the Gnutls-devel mailing list