gnutls_session_get_master_secret(3)
β¨ gnutls_session_get_master_secret β¨
okay bestie, welcome to the gnutls manual π this lil page is your guide to gnutls_session_get_master_secret(3) β it's an API function, and yes it's giving very niche, very specific, very "iykyk" energy. let's go πΈ
π NAME π
gnutls_session_get_master_secret β the API function that hands you the master secret π
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
void gnutls_session_get_master_secret(gnutls_session_t session,
gnutls_datum_t * secret);
like. that's it. that's the whole vibe β¨
π ARGUMENTS π
gnutls_session_t sessionβ bestie this is agnutls_session_ttype, that's literally what it is πgnutls_datum_t * secretβ the session's master secret, the whole point of the function, the main character π
π«Ά DESCRIPTION π«Ά
so this function returns pointers to the master secret that's being used in the TLS session πΈ
β οΈ important bestie: those pointers are not to be modified or deallocated. do not touch. do not free. hands off. no cap π«π
also, heads up: this function is only applicable under TLS 1.2 or earlier versions. that's the range. that's the limit. periodt π
β SINCE β
3.5.0 β she's been here a minute, iconic behavior π
π REPORTING BUGS π
found a bug? don't be shy, tell the gnutls girlies directly:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
fr fr they wanna know π
π 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, go off, just keep the receipts π§Ύβ¨
π 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/
that's the lore drop, go read ππ
and that's a wrap bestie π this was the gnutls manual, version 3.8.13, page gnutls_session_get_master_secret(3). stay encrypted, stay slay π
β¨
π¦ 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