gnutls_tpm_privkey_delete(3)

✨ gnutls_tpm_privkey_delete(3) ✨

okay bestie, so this one lives in the gnutls manual β€” it's a section 3 page, so it's a library function, not some command you type at the prompt. and it's literally about deleting a private key off your TPM chip, which is giving main character energy in the most chaotic way possible πŸ’…


🌸 NAME 🌸

gnutls_tpm_privkey_delete β€” API function


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/tpm.h>

int gnutls_tpm_privkey_delete(const char * url, const char *
srk_password);

πŸ’– ARGUMENTS πŸ’–

  • const char * url β€” the URL describing the key πŸ‘‘ like, which key are we deleting, bestie
  • const char * srk_password β€” a password for the SRK key πŸ” (that's the Storage Root Key, iykyk)

πŸ¦‹ DESCRIPTION πŸ¦‹

This function will unregister the private key from the TPM chip.

that's it. that's the whole vibe. it goes in, it takes the key out of the registry, no cap 🫢


⭐ RETURNS ⭐

On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.

so like β€” zero means we ate, anything negative means something went sideways 😭


🌈 SINCE 🌈

3.1.0

like, this has been around. it's an icon, it's a legend, periodt ✨


πŸ’€ REPORTING BUGS πŸ’€

Report bugs to <bugs@gnutls.org>.

Home page: https://www.gnutls.org

not me asking you to actually report the bugs instead of just screaming into the group chat πŸ™ˆ they wanna hear it 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.


πŸ’œ 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/


k that's the whole page bestie, go forth and unregister those keys responsibly πŸ’…βœ¨ this was the gnutls manual, version 3.8.13, and the page you just read was gnutls_tpm_privkey_delete(3) β€” mwah, slay, bye πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from