pskc_set_key_profileid(3)
okay so bestie, welcome to the libpskc pskc_set_key_profileid(3) page β yes, the whole thing is about setting one tiny string and not letting it get freed too early π
β¨
β¨ NAME β¨
pskc_set_key_profileid β API function. Thatβs the name, thatβs the game, and the libpskc manual name is folded right in here so you know exactly where you are π
πΈ SYNOPSIS πΈ
#include <pskc.h>
void pskc_set_key_profileid(pskc_key_t * key, const char * profileid);
π¦ ARGUMENTS π¦
pskc_key_t * keyβ apskc_key_thandle, frompskc_get_keypackage().const char * profileidβ pointer to the profileid string to set.
π DESCRIPTION π
Okay so this function sets the PSKC KeyPackage Key KeyProfileId value. Thatβs the assignment, and it ate π
But hereβs the big red flag warning: the pointer is stored in container, not a copy of the data. So you must not deallocate the data before another call to this function or the last call to any function using container. No cap β that pointer is not yours to free on your own schedule, bestie π«Ά
β SINCE β
2.2.0 β this API has been doing its thing since version 2.2.0, periodt β¨
π REPORTING BUGS π
Report bugs to <oath-toolkit-help@nongnu.org>. 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.
Legally iconic, honestly π
signing off from the libpskc 2.6.15 edition of pskc_set_key_profileid(3) β the footer didnβt list a date, so Iβm not making one up, bestie π«Άπ
π¦ 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