shishi_kdcreq_postdated_p(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– shishi_kdcreq_postdated_p πŸ’–

okay bestie, so this one lives in the shishi manual (section 3, the library-call girlies) and it's literally just a lil vibe check for one single flag. her whole job? asking "is this postdated or not" and answering with a number. that's it. that's the gig. πŸŽ€


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_kdcreq_postdated_p(Shishi * handle, Shishi_asn1 kdcreq);

🌸 ARGUMENTS 🌸

  • Shishi * handle β€” the shishi handle, allocated by shishi_init(). you know her, you love her, she's the main character of every single one of these functions. πŸ’…
  • Shishi_asn1 kdcreq β€” the KDC-REQ variable we're pulling the kdc-options field out of. she's the one we're interrogating bestie, be nice to her. πŸ¦‹

🫢 DESCRIPTION 🫢

so like, this function determines whether the KDC-Option postdated flag is set. that's the whole thing. non-mysterious. slay.

now the tea on what that flag actually means, because it's lowkey important:

the POSTDATED option says "hey, this is a request for a postdated ticket." and the way that works is: this option will only be honored if the ticket-granting ticket it's based on has its MAY-POSTDATE flag set. no MAY-POSTDATE, no postdate, periodt.

and the resulting ticket? she also gets her INVALID flag set. 😭 not a forever thing though β€” that flag may be reset by a subsequent request to the KDC, but only after the starttime in the ticket has been reached. so it's giving "pending" not "broken". ⏳✨


πŸ”₯ RETURN VALUE πŸ”₯

returns non-0 iff the postdated flag is set in KDC-REQ. so like, truthy = yes bestie, falsy = no bestie. no cap.


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't be shy, report it to <bug-shishi@gnu.org>. πŸ›


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.


🌈 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 her, she's thorough. πŸ“šβœ¨


ngl the whole thing is one flag check but the lore behind it ate fr fr. πŸ’€

shishi version 1.0.3 β€” mwah, kisses, bye bestie! πŸŽ€πŸ’–πŸ¦‹πŸŒΈπŸ’