pskc_set_key_data_counter(3)
π
pskc_set_key_data_counter(3) β the libpskc bestie moment π
okay so welcome to pskc_set_key_data_counter(3) from libpskc, bestie. this is the API function that sets the PSKC KeyPackage Key Data Counter value, and it's giving very specific but very useful energy β¨
β¨ NAME β¨
pskc_set_key_data_counter β API function that sets the PSKC KeyPackage Key Data Counter value. periodt π
πΈ SYNOPSIS πΈ
#include <pskc.h>
void pskc_set_key_data_counter(pskc_key_t * key, uint64_t counter);
π ARGUMENTS π
pskc_key_t * keyβ apskc_key_thandle, frompskc_get_keypackage(). that's your key babe π«Άuint64_t counterβ counter value to set. the actual number going in π₯
π¦ DESCRIPTION π¦
bestie, this sets the PSKC KeyPackage Key Data Counter value. that element contains the event counter for event-based OTP algorithms. no cap, that's the whole vibe of this function π¦
β SINCE β
2.2.0 β iconic, been around since then π
π REPORTING BUGS π
found a bug? don't suffer in silence, report it:
- 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.
π okay bye bestie β this page is from libpskc version 2.6.15, and the page tag is pskc_set_key_data_counter(3). the footer doesn't print a date, so no fake timestamp here, just good clean manual-page energy. 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