gnutls_handsha...vate_extensions(3)
π gnutls_handshake_set_private_extensions β the manual page bestie π
okay so you're reading the gnutls manual, section gnutls_handsha...vate_extensions(3), and we're gonna talk about gnutls_handshake_set_private_extensions β yes it's an API function, yes the name is long, no we are not scared of it π«Ά
β¨ NAME β¨
gnutls_handshake_set_private_extensions β an API function, bestie. that's the whole name. it's giving "long but iconic" π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
void gnutls_handshake_set_private_extensions(gnutls_session_t session,
int allow);
that's it. that's the whole thing. no return value, no drama (well, some drama, see DESCRIPTION π).
π ARGUMENTS π
gnutls_session_t sessionβ bestie this is agnutls_session_ttype. it's your session. your main character. πint allowβ an integer, and it's literally just0or1. binary queen. no in-between, no "maybe", no "it's complicated" π
π¦ DESCRIPTION π¦
so what does this actually do. this function turns the use of private cipher suites on or off β and by "private cipher suites" we mean the ones that start with 0xFF. iykyk. π₯
by default, OR if allow is 0, those cipher suites will not be advertised and will not be used. so the chill, do-nothing, default vibe is: they're off. periodt. π
now for the part where i have to be real with you: currently GnuTLS does not include such cipher-suites or compression algorithms. so like... the feature exists, the switch exists, but the actual private cipher suites and compression algorithms? not in the box. not me finding out it's a feature flag for nothing π
β οΈ and here's the big one, bestie: enabling the private ciphersuites when talking to other than gnutls servers and clients may cause interoperability problems. like, handshake go brrr in a bad way. so don't just flip it to 1 for funsies. π
π REPORTING BUGS π
found a bug? spill it. report bugs to bugs@gnutls.org.
home page: https://www.gnutls.org β go say hi, it's cute over there π β¨
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. so like, take it, share it, remix it β just keep the receipts, bestie π§Ύπ
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:
https://www.gnutls.org/manual/
go forth and read. the docs are there, the lore is deep ππ¦
and that's the whole page, no cap. this was gnutls version 3.8.13, page gnutls_handsha...vate_extensions(3), and honestly? ate. go set your extensions responsibly, babe π
πΈβ¨
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms