pskc_set_key_policy_expirydate(3)
π pskc_set_key_policy_expirydate(3) β the libpskc glow-up
okay so bestie, we're deep in the libpskc manual (that's the libpskc library, and yes she's iconic), and today's main character is pskc_set_key_policy_expirydate. say it with me one time. slay.
β¨ NAME β¨
pskc_set_key_policy_expirydate β an API function, fr fr. that's literally her whole job description π
π¦ SYNOPSIS π¦
#include <pskc.h>
void pskc_set_key_policy_expirydate(pskc_key_t * key, const struct tm *
expirydate);
like, include the header first, obviously π
π ARGUMENTS π
pskc_key_t * keyβ apskc_key_thandle, and you get it frompskc_get_keypackage(). that's the plug, that's where she comes from π«Άconst struct tm * expirydateβ a pointer to atmstruct holding the key policy expiry date you wanna set. it's giving "pass the pointer, not the vibe" β¨
πΈ DESCRIPTION πΈ
so what she does is set the PSKC KeyPackage Key Policy ExpiryDate. and that element? it denotes the expiry of the validity period of a key. periodt. the key has a window of validity, and this is where you mark when that window closes π no cap.
π SINCE π
2.2.0 β she's been around, she's got lore β
π₯ 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/
π 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. that's the license, and she ate π₯
ok that's the whole page, you're officially educated π go forth and set those expiry dates, iykyk π
sign-off era π§: this little beauty lives in libpskc, version 2.6.15, and she's your girl for pskc_set_key_policy_expirydate(3). mwah π π
π¦ 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