gnutls_privkey_set_pin_function(3)
β¨ gnutls_privkey_set_pin_function β¨
okay so bestie, this one lives in the gnutls manual and it's called gnutls_privkey_set_pin_function(3) β say that five times fast π
πΈ NAME πΈ
gnutls_privkey_set_pin_function β literally an API function, that's the whole name, periodt
π SYNOPSIS π
#include <gnutls/abstract.h>
void gnutls_privkey_set_pin_function(gnutls_privkey_t key,
gnutls_pin_callback_t fn, void * userdata);
like look at that signature. gorgeous. no notes. π«Ά
π ARGUMENTS π
gnutls_privkey_t keyβ a key of typegnutls_privkey_t, aka the main character of this whole situationgnutls_pin_callback_t fnβ the callback, the lil function that's gonna get calledvoid * userdataβ data associated with the callback, it's giving plus-one energy π
β¨ DESCRIPTION β¨
so here's the tea: this function will set a callback function to be used when required to access the object. it overrides any other global PIN functions β yes, it's that girl, it takes priority π
β οΈ note note note: this function must be called right after initialization to have effect. like, right after. don't be late to this party or it literally does nothing π
π¦ SINCE π¦
3.1.0 β she's been iconic for a minute, no cap β
π REPORTING BUGS π
found a bug? don't suffer in silence bestie, 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. (iconic behavior fr fr π«Ά)
π 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 whole page bestie, we ate and left no crumbs π
β¨ this was gnutls version 3.8.13 with the copyright stretching from 2001 all the way to 2023 β mwah, go forth and set those PIN functions, ily πππ¦
π¦ 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