pskc_get_key_profileid(3)
π pskc_get_key_profileid(3) β like, the libpskc manual, bestie
Okay so real talk: this is a page from libpskc, and it's about one tiny little getter function. It's short, it's sweet, and it absolutely slaps once you get what it's doing. Let's go π
πΈ NAME πΈ
pskc_get_key_profileid β the API function. That's it, that's the whole vibe. It's literally just here to fetch one lil' string for you π
β¨ SYNOPSIS β¨
#include <pskc.h>
const char * pskc_get_key_profileid(pskc_key_t * key);
Like, include the header, call the function, get a string back. No cap, that's the whole flow π¦
π«Ά ARGUMENTS π«Ά
pskc_key_t * keyβ apskc_key_thandle. And where do you get one of those, you ask? Frompskc_get_keypackage(). That's your source, bestie, don't forget it π
π DESCRIPTION π
Get the PSKC KeyPackage Key KeyProfileId value. Yep β that's the whole description. It's giving "short and iconic" and honestly? We love a function that knows exactly what it is π₯
π RETURNS π
You get back a constant string holding the content. And this is the important part, so listen up π:
You must not deallocate it. It's not yours, don't free it, don't touch it with free(), just read it and move on, okay?
And if it's not set? You get NULL. That's the vibe check result β NULL means "nope, nothing here" π
π REPORTING BUGS π
Found a bug? Spill the tea to <oath-toolkit-help@nongnu.org> and they'll handle it π§
- libpskc home page:
https://oath-toolkit.codeberg.page/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2009-2026 Simon Josefsson.
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. (Translation: go off, share it, just keep the receipts β¨)
And that's the whole page, bestie! This one's from libpskc, version 2.6.15, and it's the pskc_get_key_profileid(3) manual page. Read it, love it, don't free the string πππ¦
π¦ where this page comes from
- arch rolling: oath-toolkit 2.6.15-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms