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

fr fr they wanna know πŸ›


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