pskc_set_key_p...failedattempts(3)
π pskc_set_key_p...failedattempts β like, the whole page, bestie
okay so real talk, this is a libpskc manual page β the function name got chopped to pskc_set_key_p...failedattempts in the header because it's long, but the actual function is the whole thing spelled out below. we stay cunty, we stay accurate. π
β¨ NAME β¨
pskc_set_key_policy_pinmaxfailedattempts β an API function. that's it, that's the whole name section, she's brief and she's iconic. π
πΈ SYNOPSIS πΈ
#include <pskc.h>
void pskc_set_key_policy_pinmaxfailedattempts(pskc_key_t * key, uint32_t
attempts);
yes bestie she returns void, no little return value to check, she just does the thing. π¦
π«Ά ARGUMENTS π«Ά
pskc_key_t * keyβ apskc_key_thandle, and you get it frompskc_get_keypackage(). that's your entry ticket, no ticket no setter. β¨uint32_t attemptsβ the number of attempts you wanna set. a wholeuint32_tof attempts. π
π DESCRIPTION π
okay so what this does: it sets the PSKC KeyPackage Key Policy PINPolicy MaxFailedAttempts value. π―
and like, what does that actually mean? it means this attribute indicates the maximum number of times the PIN may be entered wrongly before it MUST NOT be possible to use the key anymore. like, capital-M capital-N MUST NOT. the key gets locked out, bestie, she's done, no more tries. ππ
and the docs are being super helpful here: typical reasonable values are in the positive integer range of at least 2 and no more than 10. so like... 2 to 10. don't be weird about it. π
β SINCE β
2.2.0 β she's been around, she's a legacy queen. π
π₯ REPORTING BUGS π₯
found a bug? don't just suffer in silence, tell the people! 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. π (so yes you can share it, just keep the receipts, iykyk) π§
ngl the vibe here is: set your PIN max failed attempts, keep it between2and10, accept that lockout is real and she is coming for you. π
that's the whole page bestie, no notes, no cap. this lil' beauty came to you from libpskc, version 2.6.15, and it's the pskc_set_key_p...failedattempts(3) page β she's serving the exact same energy she always has. 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