pskc_set_device_startdate(3)
π pskc_set_device_startdate β like, the manual page, bestie
okay so this is a libpskc function and honestly? it's giving "small but mighty" β¨ it lives in section 3 of the manual, and it's here to help you stamp a start date onto a device. let's get into it π«Ά
πΈ NAME πΈ
pskc_set_device_startdate β the API function that sets the device start date. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
#include <pskc.h>
void pskc_set_device_startdate(pskc_key_t * key, const struct tm *
startdate);
no cap, that's the whole signature β void return, two arguments, in and out π
π¦ ARGUMENTS π¦
pskc_key_t * keyβ apskc_key_thandle, and you get it frompskc_get_keypackage(). that's your main character right there πconst struct tm * startdateβ a pointer to atmstruct holding the device starting date you wanna set. yes, a pointer, not the struct itself. we're being efficient π
π DESCRIPTION π
So what does it actually do? It sets the PSKC KeyPackage DeviceInfo StartDate. π
And what does that element even mean? It denotes the start date of a device β like the one on a payment card, used when issue numbers are not printed on cards. iykyk, it's the fallback when there's no printed issue number to go off of π¦π³
literally just: you hand it a key handle, you hand it a date, it does the thing. slay.
β SINCE β
2.2.0 β so it's been around a minute, lowkey iconic β¨
π REPORTING BUGS π
Found a bug? don't suffer in silence, bestie π report it to <oath-toolkit-help@nongnu.org>.
- libpskc home page: https://oath-toolkit.codeberg.page/
- General help using GNU software: http://www.gnu.org/gethelp/
fr fr, they wanna hear from you π
π 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. π«Ά
okay that's the whole page, you ate that π
this was libpskc version 2.6.15 bringing you pskc_set_device_startdate(3) β go set some dates, bestie, and remember: pointer to the tm struct, not the struct itself πβπ
π¦ 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