pskc_set_device_userid(3)
okay so bestie, you opened pskc_set_device_userid(3) from the libpskc manual β and weβre about to make a DeviceInfo Userid moment happen β¨
πΈ NAME
pskc_set_device_userid β API function. Thatβs the whole name vibe: itβs the API function for setting a device userid. Periodt.
β¨ SYNOPSIS
#include <pskc.h>
void pskc_set_device_userid(pskc_key_t * key, const char * userid);
π ARGUMENTS
pskc_key_t * keyβ apskc_key_thandle, frompskc_get_keypackage().const char * useridβ a string with user identity to set.
π DESCRIPTION
okay so this sets the PSKC KeyPackage DeviceInfo Userid value. Translation: it indicates the user with whom the device is associated. Iconic little identity field, honestly.
the pointer is stored in the 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 the container. That is not the vibe check you want to fail β do not free it early, bestie π
π¦ SINCE
2.2.0
π 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.
with love from libpskc version 2.6.15, manual page pskc_set_device_userid(3) π«Άπβ¨ the footer has no date line, so no date is invented here π
π¦ 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