shishi_tkt_initial_p(3)
β¨ shishi_tkt_initial_p β¨
okay bestie, gather round π this is a page from the shishi manual, section 3 β and today's main character is shishi_tkt_initial_p, an API function that's literally just here to answer one (1) very specific question for you. no cap.
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_tkt_initial_p(Shishi_tkt * tkt);
like, that's the whole thing. short king energy π
π ARGUMENTS π
Shishi_tkt * tktβ your input variable with ticket info in it. that's the tea you're handing over for inspection π
π DESCRIPTION π
so what does it actually do? it figures out whether the ticket was issued using the AS exchange. periodt.
now let's talk about the INITIAL flag, because this is the part that matters and it's giving very much "important lore" π₯
the INITIAL flag says that a ticket was issued using the AS protocol, rather than issued based on a ticket-granting ticket. two very different origin stories, bestie π
and why do we care?? because application servers that want to require the demonstrated knowledge of a client's secret key β think, like, a password-changing program as the classic example β can insist that this flag be set in any tickets they accept. and by doing that, they get to be assured that the client's key was recently presented to the application client. so it's not just a vibe check, it's an actual security vibe check π«Ά
β RETURN VALUE β
returns non-0 iff the initial flag is set in the ticket. so:
- non-
0β yep, flag's set, it's initial π 0β nope, not initial π
π REPORTING BUGS π
found a bug? don't be shy, tell the shishi girlies:
- 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. iconic behaviour fr fr π
π¦ 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. iykyk β¨
so yeah, that's the whole page β shishi_tkt_initial_p, section 3, from shishi version 1.0.3. go off, check your flags, stay initial π
ππ¦
slay π
π¦ 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