shishi_kdcreq_renewable_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_renewable_p ✨

okay bestie, welcome to the shishi section 3 manual page for shishi_kdcreq_renewable_p β€” yes that whole mouthful, we're doing it πŸ’…


🌸 NAME 🌸

shishi_kdcreq_renewable_p β€” it's an API function, bestie. that's the whole name, no notes πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_kdcreq_renewable_p(Shishi * handle, Shishi_asn1 kdcreq);

like. look at her. iconic signature fr fr ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, and she has to be allocated by shishi_init(). no bootleg handles allowed, we get her from the source πŸ’œ
  • Shishi_asn1 kdcreq β€” the KDC-REQ variable we're pulling the kdc-options field out of. that's the vibe check target 🎯

πŸ‘‘ DESCRIPTION πŸ‘‘

so what does she actually do. she determines if the KDC-Option renewable flag is set. that's it. that's the job. and she eats every time πŸ”₯

now the tea on the RENEWABLE option itself, because this part matters:

the RENEWABLE option means the ticket that's about to be issued is supposed to have its RENEWABLE flag set. lowkey important. but here's the catch bestie β€” it may only be set on the initial request, or when the ticket-granting ticket that the request is based on is also renewable. that's the rule, no cap πŸ™…

and if this option is requested? then the rtime field in the request contains the desired absolute expiration time for the ticket. so rtime is carrying the whole timeline of this ticket, she's the main character of the expiration plot ⏰


πŸ’« RETURN VALUE πŸ’«

Returns non-0 iff the renewable flag is set in KDC-REQ. so: truthy = yes she's renewable, 0 = nope, not today 🫢


😭 REPORTING BUGS 😭

found a bug? don't suffer in silence, tell the people:

Report bugs to <bug-shishi@gnu.org>.

they're literally waiting to hear from you πŸ’Œ


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. periodt πŸ’…


🌈 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 πŸ“šβœ¨


k bye bestie, that's the whole page πŸŽ€ this was shishi version 1.0.3, shishi_kdcreq_renewable_p(3), and honestly? she ate. stan a renewability check. mwah πŸ’–πŸ¦‹