pskc_set_key_a...ll_checkdigits(3)
π pskc_set_key_a...ll_checkdigits(3)
okay bestie, this is the libpskc manual page for pskc_set_key_a...ll_checkdigits(3). Itβs short, itβs specific, and itβs about one tiny toggle. Letβs get into it π«Ά
β¨ NAME β¨
pskc_set_key_algparm_chall_checkdigits β API function
πΈ SYNOPSIS πΈ
#include <pskc.h>
void pskc_set_key_algparm_chall_checkdigits(pskc_key_t * key, int
checkdigit);
π ARGUMENTS π
pskc_key_t * keyβ apskc_key_thandle, frompskc_get_keypackage(). this is the key package youβre dressing up πint checkdigitβ non-zero to indicate setting trueCheckDigit, 0 otherwise. so yes/no energy, but with ints.
π¦ DESCRIPTION π¦
Set the PSKC KeyPackage Key AlgorithmParameters ChallengeFormat CheckDigits value.
This attribute indicates whether a device needs to check the appended Luhn check digit, as defined in [ISOIEC7812], contained in a challenge.
heads up: this is only valid if the'Encoding'attribute is set to'DECIMAL'. no cap.
- A value of
TRUEindicates that the device will check the appended Luhn check digit in a provided challenge. - A value of
FALSEindicates that the device will not check the appended Luhn check digit in the challenge.
β SINCE β
2.2.0 β iconic since then, periodt.
π REPORTING BUGS π
Report bugs to <oath-toolkit-help@nongnu.org>. Thatβs the libpskc home page: https://oath-toolkit.codeberg.page/ β and for 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 libpskc 2.6.15 tea, bestie β pskc_set_key_a...ll_checkdigits(3) out π
π¦ 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