pskc_get_signed_p(3)
π pskc_get_signed_p(3) β the libpskc glow-up
okay so bestie, welcome to the libpskc corner of the manual, page three of pskc_get_signed_p. yes it's a mouthful, no we're not renaming it, and honestly? iconic of it.
πΈ NAME πΈ
pskc_get_signed_p β literally just an API function, that's the whole vibe π
β¨ SYNOPSIS β¨
#include <pskc.h>
int pskc_get_signed_p(pskc_t * container);
that's it. that's the whole thing. short, sweet, slays π
π¦ ARGUMENTS π¦
pskc_t * containerβ apskc_thandle, and you get it frompskc_init(). like, that's where it comes from, no cap. don't just make one up out of nowhere bestie π«Ά
π DESCRIPTION π
so what does this actually do? it checks whether the container is signed or not. that's it. that's the function. main character energy for real β¨
π¨ but listen β and this is the important part β it does not validate the signature. it merely checks whether there is one. so if you were hoping this was your security check, it is not, and I need you to know that before you go build something on top of it π like it's giving "yes there's a Signature element in the building" and not giving "yes the signature is legit". two very different things, bestie.
π RETURNS π
- a non-0 value if the container contains a
Signatureelement π 0if there is noSignatureelement
so: nonzero = there's a signature, zero = nope, nothing there. simple. clean. ate. π₯
π REPORTING BUGS π
found a bug? found several? be so fr and report them to <oath-toolkit-help@nongnu.org> β the maintainers want to hear it, I promise, this is not a "don't bother them" situation, this is a "please bother them, that's the whole point" situation π«Ά
libpskchome 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.
(translation: yes you can copy it, yes you can remix it, just keep the copyright notice and this notice with it, and you don't owe anybody a single coin πΈ periodt)
and that's the page!! π this whole thing lives in libpskc version 2.6.15 β pskc_get_signed_p(3), signing off ππ§ββοΈ
π¦ 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