GNUTLS_PRIVKEY_IMPORT_OPENPGP_RAW(3)
β¨ gnutls_privkey_import_openpgp_raw(3) β¨
okay bestie, buckle up π this one lives in the gnutls manual (yes, the whole manpage family), and it's a short one β but the plot twist is chef's kiss iconic. let's get into it π
πΈ NAME πΈ
gnutls_privkey_import_openpgp_raw β it's an API function, babes. that's the whole name. π
π¦ SYNOPSIS π¦
#include <gnutls/abstract.h>
int gnutls_privkey_import_openpgp_raw(gnutls_privkey_t pkey, const
gnutls_datum_t * data, gnutls_openpgp_crt_fmt_t format, const
gnutls_openpgp_keyid_t keyid, const char * password);
yes the line breaks are doing the most, that's just how the header file vibes β¨
π ARGUMENTS π
gnutls_privkey_t pkeyβ the private key, aka the main character of this whole situation πconst gnutls_datum_t * dataβ the actual private key data you're trying to import π¦gnutls_openpgp_crt_fmt_t formatβ what format that private key is in, gotta label it fr fr π·οΈconst gnutls_openpgp_keyid_t keyidβ the key id to use. it's optional, so no pressure bestie πconst char * passwordβ a password. also optional. so casual π
π DESCRIPTION π
so here's the thing. this function is a no-op. like... it does nothing. it's giving ghosting, it's giving "read at 3:47pm and never replied." you call it, it does not do the thing. not me warning you before you spend an hour debugging your key import π
β RETURNS β
GNUTLS_E_UNIMPLEMENTED_FEATURE. β yeah. that's the whole return value. it's telling you the feature isn't implemented. periodt. π
π SINCE π
3.1.0 β it's been around since 3.1.0, so it's an OG even though it does absolutely nothing. iconic in a cursed way ngl π«Ά
π REPORTING BUGS π
found a bug? spill the tea to <bugs@gnutls.org> π§
home page is right here: 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. so yes, you can share it, just keep the receipts bestie π§Ύπ
π₯ 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, go visit:
https://www.gnutls.org/manual/
iykyk π
k bye bestie, that's the whole page β this was gnutls version 3.8.13, brought to you by the gnutls_privkey_import_openpgp_raw(3) era, and fr fr it's a function that does nothing and says so with its whole chest. slay, i guess π
β¨π¦
π¦ 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