shishi_kdcreq_get_padata(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_get_padata ✨

okay bestie, so this is a page out of the shishi manual (that's the GNU Shishi Kerberos-ish situation πŸ’…) and it's literally just one little function that goes digging for pre-auth data. stay with me, it's giving main character energy πŸŽ€


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_kdcreq_get_padata(Shishi * handle, Shishi_asn1 kdcreq,
       Shishi_padata_type padatatype, char ** out, size_t * outlen);

🫢 ARGUMENTS 🫢

  • Shishi * handle β€” the shishi handle, and it's gotta be one that was allocated by shishi_init(). no bootleg handles, bestie.
  • Shishi_asn1 kdcreq β€” the KDC-REQ you're pulling PA-DATA out of. it's the source, the moment, the origin story πŸ¦‹
  • Shishi_padata_type padatatype β€” which type of PA-DATA you want, peek at Shishi_padata_type for the whole menu.
  • char ** out β€” the output array, and it comes with a freshly allocated PA-DATA value inside. new in the wrapper, no cap ✨
  • size_t * outlen β€” the size of that output array with the PA-DATA value. the receipts, basically.

πŸ’– DESCRIPTION πŸ’–

So what it does: it gets the pre authentication data (PA-DATA) from a KDC-REQ. πŸ“¬

And why do we care? Because pre authentication data is literally how you pass all kinds of info over to the KDC β€” like, in the case of a SHISHI_PA_TGS_REQ padatatype, it's the AP-REQ that authenticates the user so they can get the ticket. it's the little VIP pass that says "yes it's me, let me in" πŸ‘‘


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. that's it. that's the whole vibe check. if you get SHISHI_OK you ate. πŸ”₯


😭 REPORTING BUGS 😭

found a bug? pls don't suffer in silence, report it 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 Β© 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 it, it's iconic πŸ“šβœ¨


and that's the whole page bestie, no notes πŸ’œ β€” this was shishi manual page shishi_kdcreq_get_padata(3), version 1.0.3, and yeah that's the tea πŸ“ byeee πŸ¦‹