gnutls_openpgp_privkey_sign_hash(3)

πŸ’– NAME πŸ’–

gnutls_openpgp_privkey_sign_hash β€” bestie, it's an API function πŸŽ€

Okay so real talk, this one's from the gnutls manual (section 3, the library functions girlies) and it is lowkey the most anticlimactic function in the whole entire codebase. Let's get into it πŸ’…


✨ SYNOPSIS ✨

#include <gnutls/compat.h>

int gnutls_openpgp_privkey_sign_hash(gnutls_openpgp_privkey_t key, const
gnutls_datum_t * hash, gnutls_datum_t * signature);

🌸 ARGUMENTS 🌸

  • gnutls_openpgp_privkey_t key β€” holds the key πŸ—οΈ like yes bestie she's holding it, she's just not gonna do anything with it, iykyk
  • const gnutls_datum_t * hash β€” holds the data to be signed ✨ (the vibes, the potential, the dreams)
  • gnutls_datum_t * signature β€” will contain newly allocated signature πŸ’– (allegedly. bestie. allegedly.)

πŸ¦‹ DESCRIPTION πŸ¦‹

Not me having to tell you this… This function is no-op. 😭

That's it. That's the description. She takes the key, she takes the hash, she takes the signature pointer, and she does absolutely nothing with any of them. It's giving "showed up to the group project and contributed a vibe." The main character energy is immaculate, the output is nonexistent.


⭐ RETURNS ⭐

GNUTLS_E_UNIMPLEMENTED_FEATURE. 🫢

Yeah. She tells you straight up: not implemented. No cap. At least she's honest bestie πŸ’€


πŸ’€ REPORTING BUGS πŸ’€

Found a bug? (or like… found this function? it's the same energy honestly) Report bugs to <bugs@gnutls.org>.

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


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. 🌈 Periodt.


πŸ”₯ 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/


Anyway bestie, that's the whole page β€” brought to you by gnutls, version 3.8.13, and the letter "no-op." πŸ’–βœ¨ Stay iconic, keep reading your manpages, and remember: if a function returns GNUTLS_E_UNIMPLEMENTED_FEATURE, it's not you, it's her. πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from