shishi_kdcreq_add_padata_tgs(3)
π shishi_kdcreq_add_padata_tgs(3) π
okay bestie, sit down, we're doing the shishi manual pages and this one is a whole little function from the shishi library, section 3. yes it's a C API page. yes it's about Kerberos pre-auth data. no you don't need to be scared, i got you π«Ά
β¨ NAME β¨
shishi_kdcreq_add_padata_tgs β bestie this is an API function, that's literally the whole vibe of the name section π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_kdcreq_add_padata_tgs(Shishi * handle, Shishi_asn1 kdcreq,
Shishi_asn1 apreq);
the way that include line is just sitting there being iconic β¨
π ARGUMENTS π
Shishi * handleβ your shishi handle, and no you can't just manifest one out of thin air, it's the one you got fromshishi_init(). periodt.Shishi_asn1 kdcreqβ the KDC-REQ</> that we're adding PA-DATA to. it's the main character of this operation ngl.Shishi_asn1 apreqβ the AP-REQ</> that's getting added as PA-DATA. it's the plus-one. the guest star. the collab. π¦
π« DESCRIPTION π«
so what are we even doing here? we're adding TGS pre-authentication data to a KDC-REQ. that data is an AP-REQ, and it's what authenticates the request β it's giving "let me in, i have credentials" energy π₯
and how does it do it? literally so simple: this function just DER encodes the AP-REQ and then calls shishi_kdcreq_add_padata() with a SHISHI_PA_TGS_REQ padatatype. that's it. that's the whole lore. no cap. π
β RETURN VALUE β
returns SHISHI_OK iff successful. so like, check it, bestie. if it's not SHISHI_OK something went sideways π
π REPORTING BUGS π
found a bug? don't be shy, 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.
(translation: go off, remix it, just keep the receipts π)
π 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. iykyk, go read it, it's lowkey iconic πβ¨
and that's a wrap on shishi_kdcreq_add_padata_tgs(3) from the shishi manual, version 1.0.3 β mwah, slay, go authenticate something π
β¨π¦
π¦ 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