shishi_tkt_keytype_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_tkt_keytype_p β€” bestie edition πŸ’–

okay so this is a page from the shishi manual (section 3, library calls, iykyk) and it's literally just one tiny little function that does a vibe check on your ticket. no cap.


✨ NAME ✨

shishi_tkt_keytype_p β€” API function. that's it, that's the name, she's an API function and she's iconic for it πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_tkt_keytype_p(Shishi_tkt * tkt, int32_t etype);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi_tkt * tkt β€” your input variable with ticket info. the ticket. the moment. the main character 🫢
  • int32_t etype β€” the encryption type. if u wanna know the deets, go peek at Shishi_etype. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so what she actually does: she determines whether the key in the ticket (and like, really it's the EncKDCRepPart, just so u know, no cap) is of the specified key type β€” which, again, really means encryption type. so many layers bestie, it's giving onion πŸ§…βœ¨


πŸ’œ RETURN VALUE πŸ’œ

returns non-0 iff the key in the ticket is of the specified encryption type. so like, truthy = yes it matches, zero = nope, not her πŸ™ˆ


😭 REPORTING BUGS 😭

found a bug? pls don't suffer in silence, report it to <bug-shishi@gnu.org>. they wanna hear from u fr fr.


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 bestie, that's the whole license, she's generous like that πŸ’–)


🌈 SEE ALSO 🌈

the full documentation for shishi is maintained as a Texinfo manual, which is like the deluxe extended cut. if the info and shishi programs are properly installed at your site, this command:

info shishi

should give you access to the complete manual. go read it, it's lowkey good for u πŸ“šβœ¨


and that's the whole page!! this was pulled from the shishi manual, version 1.0.3, section 3 β€” shishi_tkt_keytype_p(3) β€” mwah, periodt πŸ’…πŸŽ€πŸ¦‹