shishi_ap_tktoptionsdata(3)
π shishi_ap_tktoptionsdata β the glow-up page π
okay bestie, so this is a page from the shishi manual (yes, section 3, library-call territory π), and it's all about shishi_ap_tktoptionsdata. it's giving "one function, whole lot of vibes". let's go π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_ap_tktoptionsdata(Shishi * handle, Shishi_ap ** ap,
Shishi_tkt * tkt, int options, const char * data, size_t len);
like, that's the whole signature, no cap. five args plus the handle, and she's thriving π¦
πΈ ARGUMENTS πΈ
so here's who's who in the group chat:
Shishi * handleβ the shishi handle, and you gotta get it the legit way, as allocated byshishi_init(). no DIY handles, bestie πShishi_ap ** apβ pointer to the new structure that's gonna hold all the info about the AP exchange. this is the baby you're creating β¨Shishi_tkt * tktβ the ticket to set in the newly created AP. yes, that ticket. the main character πint optionsβ AP-REQ options to set in the newly created AP. it's giving "settings but make it Kerberos" πconst char * dataβ input array with the data to checksum in the Authenticator. so like, the stuff you want checked π₯size_t lenβ length of that input array with data to checksum in the Authenticator. don't lie about the length, she'll know π
π DESCRIPTION π
okay so here's the tea, fr fr:
this function creates a new AP exchange using shishi_ap(), and then it sets the ticket, the AP-REQ apoptions, and the Authenticator checksum data β all of that β using shishi_ap_set_tktoptionsdata(). three-for-one deal, we love efficiency π«Ά
and THEN, plot twist, a random session key gets added to the authenticator, using the same keytype as the ticket. iconic behaviour honestly, matching keytypes is self-care π
β RETURN VALUE β
returns SHISHI_OK iff successful. that's it. that's the whole criteria. if you see SHISHI_OK, you ate π
β¨
π REPORTING BUGS π
found a bug? don't just scream into the void, bestie, report it to <bug-shishi@gnu.org> π
also for the record:
- GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
go be a good citizen π
π 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.
(that's the legal bit and we respect it, 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, this command
info shishi
should give you access to the complete manual. go forth and info shishi, it's lowkey a whole journey πΈ
not me ending the page but keeping every single detail intact. iykyk π
and that's a wrap, bestie β this page is from shishi version 1.0.3, with all the love from the shishi crew. stay slay, stay checksummed β¨π
π«Ά
π¦ 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