shishi_ap_tktoptions(3)
β¨ shishi_ap_tktoptions β¨
okay bestie, so this is a page from the shishi manual, section 3 (that's the library-functions section, iykyk) π
and it's all about one very specific little function: shishi_ap_tktoptions. she's an API function, she's iconic, she does one job and she does it well π«Ά
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_ap_tktoptions(Shishi * handle, Shishi_ap ** ap, Shishi_tkt *
tkt, int options);
like. look at her. four arguments, one int coming back at you. slay β¨
π ARGUMENTS π
Shishi * handleβ the shishi handle, and you gotta have gotten it the legit way, i.e. as allocated byshishi_init(). no homemade handles, no knockoffs πShishi_ap ** apβ a pointer to the new structure that's gonna hold all the info about the AP exchange. yes, it's a double pointer. yes, that's just how it is. lowkey the vibe.Shishi_tkt * tktβ the ticket you want set in your brand-new AP. like, the ticket. the one. ποΈint optionsβ the AP-REQ options you want set in that freshly created AP. options for days.
π DESCRIPTION π
so here's the tea β β this function makes a whole new AP exchange by calling shishi_ap(), and then it sets the ticket and the AP-REQ apoptions using shishi_ap_set_tktoptions(). two-for-one, no cap.
and THEN β and this is the part I'm obsessed with β a random session key gets added to the authenticator π₯ using the same keytype as the ticket. same keytype!! matching!! it's giving coordinated outfit energy π
β RETURN VALUE β
returns SHISHI_OK iff successful. and bestie, "iff" means if and only if β that's not a typo, that's math π so if you don't get SHISHI_OK back, something went sideways, periodt.
π REPORTING BUGS π
found a bug? don't just scream into the group chat, actually 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/
they literally want to hear from you. main character energy from both sides π«Ά
π 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. so like, go off, remix it, just keep the receipts π§Ύβ¨
π SEE ALSO π
the full documentation for shishi lives in a Texinfo manual (yes, texinfo, she's vintage but she ate) π if info and the shishi programs are properly installed at your site, this command:
info shishi
should give you access to the complete manual. iykyk π
okay that's the whole page bestie π this was shishi 1.0.3, section 3, shishi_ap_tktoptions(3) β go forth and build your AP exchange, you've got this ππ¦πΈ
π¦ 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