shishi_ap_etype_tktoptionsdata(3)
π shishi_ap_etype_tktoptionsdata β the shishi manual, bestie edition β¨
okay so this is a page from the shishi manual (section 3, the library-call girlies π
), and it's all about shishi_ap_etype_tktoptionsdata. yes that's a mouthful, yes we're gonna get through it together, no cap. π«Ά
πΈ NAME πΈ
shishi_ap_etype_tktoptionsdata β it's an API function, bestie. that's the whole vibe. β¨
π SYNOPSIS π
#include <shishi.h>
int shishi_ap_etype_tktoptionsdata(Shishi * handle, Shishi_ap ** ap,
int32_t etype, Shishi_tkt * tkt, int options, const char * data, size_t
len);
like. look at all those parameters. she's doing the MOST and honestly? we respect it. π
π¦ ARGUMENTS π¦
Shishi * handleβ the shishi handle, allocated byshishi_init(). literally the main character of every shishi function ever. π«ΆShishi_ap ** apβ a pointer to the new structure that holds all the info about the AP exchange. it's giving "here's where the receipts live". πint32_t etypeβ the encryption type of the newly generated random subkey. spicy cryptography moment. π₯Shishi_tkt * tktβ the ticket that gets set in the newly created AP. she's the guest of honor. πint optionsβ the AP-REQ options to set in the newly created AP. little switches, big consequences. β¨const char * dataβ the input array with the data to checksum in the Authenticator. yes, checksum. no, i will not elaborate further, it's literally in the name. πΈsize_t lenβ the length of that input array with the data to checksum in the Authenticator. becausedatawithoutlenis just chaos. π
π DESCRIPTION π
okay so here's the tea β β this function creates a brand new AP exchange using shishi_ap(), and then it sets the ticket, the AP-REQ apoptions, and the Authenticator checksum data using shishi_ap_set_tktoptionsdata().
then, because she's extra in the best way, a random session key gets added to the authenticator β using the same keytype as the ticket. iconic behavior, honestly. matching sets, but for cryptography. π
β RETURN VALUE β
returns SHISHI_OK iff successful. that's it. that's the whole mood. if you got SHISHI_OK you ATE. π₯
π REPORTING BUGS π
found a bug? don't be shy, tell the devs! report bugs 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, bestie. it's not a trap. π«Ά
π 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. slay, honestly. licensing that just lets you live your life. π
π 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 giving scholarly. πβ¨
and that's the page, bestie!! this little writeup is from shishi version 1.0.3, and the man page itself is shishi_ap_etype_tktoptionsdata(3) β section 3, library calls only, we stay in our lane. π mwah, go checksum 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