gnutls_pcert_import_openpgp_raw(3)

πŸ’– gnutls_pcert_import_openpgp_raw β€” a manual page, but make it cute πŸ’–

okay bestie, welcome to the gnutls manual, page gnutls_pcert_import_openpgp_raw(3). yes the title is a whole mouthful, we're gonna get through it together. grab a boba πŸ§‹, this one is short and honestly kind of a jumpscare.


✨ NAME ✨

gnutls_pcert_import_openpgp_raw β€” the API function πŸ’…


✨ SYNOPSIS ✨

#include <gnutls/abstract.h>

int gnutls_pcert_import_openpgp_raw(gnutls_pcert_st * pcert, const
gnutls_datum_t * cert, gnutls_openpgp_crt_fmt_t format,
gnutls_openpgp_keyid_t keyid, unsigned int flags);

look at that signature. she's giving five whole arguments and honestly? not one of them is gonna get used. we'll get there. 😭


✨ ARGUMENTS ✨

  • gnutls_pcert_st * pcert β€” the pcert structure πŸŽ€ this is where the good stuff would go, hypothetically.
  • const gnutls_datum_t * cert β€” the raw certificate you wanted to import 🌸 the whole point of the function, allegedly.
  • gnutls_openpgp_crt_fmt_t format β€” the format of that certificate ✨
  • gnutls_openpgp_keyid_t keyid β€” the key ID to use (NULL for the master key) πŸ‘‘
  • unsigned int flags β€” zero for now 🫢 that's it. that's the whole spec.

✨ DESCRIPTION ✨

so. bestie. deep breath. 🫁

This function is a no-op.

like, literally. it does nothing. it's the function equivalent of a read receipt. you pass in a pcert, a cert, a format, a keyid, and some flags, and it just... doesn't. 😭 not "does it wrong", not "does it sometimes" β€” no-op. the vibe check was failed at the source.

it's still here in the API, standing in the doorway, holding all five of your arguments, contributing nothing to society. iconic honestly. πŸ’€


✨ RETURNS ✨

GNUTLS_E_UNIMPLEMENTED_FEATURE. 🚩

yeah. that's the whole return value. she's telling on herself fr fr. don't say we didn't warn you.


✨ SINCE ✨

3.0 β€” been here since 3.0, doing absolutely nothing the entire time. a legend. πŸ‘‘


✨ REPORTING BUGS ✨

found a bug? (bold of you to assume this function is capable of anything, let alone bugs πŸ™ˆ) report it to <bugs@gnutls.org> πŸ’Œ

home page is right here: 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. slay, and also legally binding. πŸ’…


✨ 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/


and that's the whole page, bestie!! 🌈✨ short, sweet, and structurally a void. this was page gnutls_pcert_import_openpgp_raw(3) from the gnutls manual, version 3.8.13, dated with all the love in the world. stay hydrated, read your return codes, and never trust a function that says "zero for now" πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from