pskc_get_device_userid(3)
π pskc_get_device_userid(3)
okay so bestie, this one lives in the libpskc manual, section 3 (that's the "these are functions, go call them" section, iykyk). It's a tiny little getter β like, one job, does it well, main character energy honestly. β¨
β¨ NAME β¨
pskc_get_device_userid β the API function that grabs the DeviceInfo Userid off a PSKC KeyPackage. π
πΈ SYNOPSIS πΈ
#include <pskc.h>
const char * pskc_get_device_userid(pskc_key_t * key);
π¦ ARGUMENTS π¦
pskc_key_t * keyβ apskc_key_thandle, which you get frompskc_get_keypackage(). That's the whole vibe: hand her the handle, she hands you the string. π«Ά
π DESCRIPTION π
Get the PSKC KeyPackage DeviceInfo Userid value. Bestie, this is literally just the identifier for the user the device is associated with β like, whose phone is this token on, that kind of thing. No cap, that's it. π
β RETURNS β
a constant string (must not be deallocated) holding the content, or NULL if not set.
okay so important: it's constant, right? So do not free it, do not deallocate it, do not touch it with your little cleanup routines. It's not yours, it's hers. Just read it and move on. π And if it comes back NULL, that just means nothing was set β not a crisis, bestie, just an absence. π
π REPORTING BUGS π
Found a bug? iconic of you for noticing. 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.
so that's the whole page, bestie β short, sweet, and absolutely slaying. go get that userid. π
β¨ this was page pskc_get_device_userid(3) from libpskc, version 2.6.15 β mwah, catch you in the next one π
π
π¦ 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