GNUTLS_SESSION_SET_KEYLOG_FUNCTION(3)
β¨ NAME β¨
gnutls_session_set_keylog_function β bestie, this is the API function that lets you hook into the handshake and grab secrets the moment they show up π (it lives in the gnutls manual, in case you were wondering π)
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
void gnutls_session_set_keylog_function(gnutls_session_t session,
gnutls_keylog_func func);
π¦ ARGUMENTS π¦
gnutls_session_t sessionβ okay so this one is agnutls_session_ttype, that's the whole vibe πgnutls_keylog_func funcβ and this is the function that's gonna get called, no cap π₯
π« DESCRIPTION π«
So here's the tea β: this function sets up a callback. That callback gets called every single time a new secret is derived and installed during the handshake π«Ά Like, the moment it happens, your function hears about it. It's giving main character energy for your keylogging setup β¨
β SINCE β
3.6.13 β yeah she's been around a minute π
π REPORTING BUGS π
Found a bug? Not the vibe, but tell the devs fr fr:
- Report bugs to
<bugs@gnutls.org>π§ - Home page:
https://www.gnutls.orgπ
π 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. Slay, that's the license, and it's iconic π
π 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/
And that's the whole page, bestie π§ β this was gnutls 3.8.13, dropping the gnutls_session_...keylog_function(3) knowledge straight into your group chat. Go forth and set that callback π
β¨
π¦ 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