shishi_kdcreq_get_padata(3)
β¨ 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 byshishi_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 atShishi_padata_typefor 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 π
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 π¦
π¦ 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