shishi_tkt_invalid_p(3)
β¨ shishi_tkt_invalid_p β¨
okay so bestie, welcome to the shishi manual, section 3 (that's the library functions girlies π
). today's main character is shishi_tkt_invalid_p and she is literally here to answer one (1) question: is this ticket valid or not. no cap.
πΈ NAME πΈ
shishi_tkt_invalid_p β an API function, and yes she is exactly as iconic as she sounds π
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_tkt_invalid_p(Shishi_tkt * tkt);
π ARGUMENTS π
Shishi_tkt * tktβ your input variable holding the ticket info, bestie. she's the one we're vibe-checking. π«Ά
β¨ DESCRIPTION β¨
So what does she do? She determines if a ticket is invalid. that's it, that's the function. π―
Now let's talk about the INVALID flag, because it's giving serious business. The INVALID flag indicates that a ticket is invalid. Application servers MUST reject tickets which have this flag set β no exceptions, no negotiating, periodt. π
A postdated ticket will be issued in this form, iykyk. Invalid tickets MUST be validated by the KDC before use, by presenting them to the KDC in a TGS request with the VALIDATE option specified. and the KDC will only validate tickets after their starttime has passed β she's picky like that. β°
Why all the drama? The validation is required so that postdated tickets which have been stolen before their starttime can be rendered permanently invalid (through a hot-list mechanism). yes bestie, the hot-list is the villain origin story. π₯
π RETURN VALUE π
Returns non-0 iff the invalid flag is set in the ticket. so like, truthy = bad vibes, falsy = we're so back. π
π REPORTING BUGS π
Found a bug? do NOT suffer in silence, tell the devs π«Ά Report bugs to <bug-shishi@gnu.org>.
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
π COPYRIGHT π
Copyright Β© 2002-2022 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. (yes she's generous AND legal, we love a queen who licenses properly π )
π§ SEE ALSO π§
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. go read it, it's giving β¨knowledgeβ¨.
okay that's the whole page bestie!! this was shishi_tkt_invalid_p(3) from shishi version 1.0.3 π tysm for reading, mwah, go validate ur tickets π
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms