gnutls_sign_is_secure2(3)
π gnutls_sign_is_secure2(3) β bestie edition π
okay so this one lives in the gnutls manual, and it's genuinely one of the most useful little vibe-checkers in the whole crypto toolbox. it's an API function, so yes, it's for the coders among us π«Ά
β¨ NAME β¨
gnutls_sign_is_secure2 β the API function that looks at a signature algorithm and tells you whether it's still slaying or whether it's giving "please retire" π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
unsigned gnutls_sign_is_secure2(gnutls_sign_algorithm_t algorithm,
unsigned int flags);
no cap, that's the whole thing. two args, one unsigned coming back at you. periodt.
π ARGUMENTS π
gnutls_sign_algorithm_t algorithmβ bestie, this is a sign algorithm. the thing you're asking about. the main character of this function call πunsigned int flagsβ either zero, orGNUTLS_SIGN_FLAG_SECURE_FOR_CERTS. that's it, that's the menu. pick your vibe β¨
β RETURNS β
Non-zero if the provided signature algorithm is considered to be secure. so likeβ¦ if you get a non-zero back, it passed the vibe check π if you get zero, it did not, and you should probably go touch some grass and pick a different algorithm π
π¦ REPORTING BUGS π¦
found a bug? don't suffer in silence, tell the gnutls girlies:
- 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 behaviour tbh β free to share, 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/
lowkey reminder: this page only tells you what the function does. it does not promise anything about algorithms that aren't in the original text, so don't come for me π
and that's the whole page, bestie π«Ά this was gnutls 3.8.13, gnutls_sign_is_secure2(3), and you read it all the way through β obsessed with you fr fr. go check your signature algorithms, they deserve it πππ¦
π¦ 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