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 a gnutls_session_t type, 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:


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