pskc_set_device_expirydate(3)
π
pskc_set_device_expirydate β the libpskc glow-up you didn't know you needed
okay so bestie, listen. this one is a little function from libpskc (yes, the pskc_set_device_expirydate(3) girlies know) and she's got one job and she eats every single time. no cap. let's get into it π
β¨ NAME β¨
pskc_set_device_expirydate β literally just an API function, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
#include <pskc.h>
void pskc_set_device_expirydate(pskc_key_t * key, const struct tm *
expirydate);
like, that's it. two args, void return, she doesn't even give you anything back because she's not about the drama π
π«Ά 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 * expirydateβ a pointer to atmstruct holding the device expiry date you wanna set. very demure, very mindful, just a pointer π§
π₯ DESCRIPTION π₯
okay so what she actually does: she sets the PSKC KeyPackage DeviceInfo ExpiryDate. periodt.
and that element? it denotes the end date of a device β think the one on a payment card, used when issue numbers aren't printed on cards. so like, the card's little expiration moment gets its own field. iconic honestly π³β¨
not me being obsessed with a struct field. but here we are π«Ά
β SINCE β
2.2.0 β she's been around, she's got lore π
π REPORTING BUGS π
found a bug? spill 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/
ngl they're nice about it, go tell them π
π 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 like, slay, go forth and redistribute, just keep the receipts π
fr fr keep every detail intact and don't come for the copyright notice. she's protected. π₯
okay that's the whole page bestie, no notes. this is libpskc version 2.6.15, and pskc_set_device_expirydate(3) said what she said πβ¨π
π¦ 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