shishi_ap_tktoptionsasn1usage(3)
π shishi_ap_tktoptionsasn1usage β the shishi manual, bestie edition π
okay so bestie, you're in the shishi manual pages (that's the GNU one, the Kerberos-adjacent legend) and this particular page is all about shishi_ap_tktoptionsasn1usage(3) β an API function. yes, it's a mouthful, we don't make the rules, we just read them π
β¨ NAME β¨
shishi_ap_tktoptionsasn1usage β it's an API function, that's the whole vibe π«Ά
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_ap_tktoptionsasn1usage(Shishi * handle, Shishi_ap ** ap,
Shishi_tkt * tkt, int options, Shishi_asn1 node, const char * field, int
authenticatorcksumkeyusage, int authenticatorkeyusage);
like, that's a lot of parameters, but we're gonna walk through every single one, no cap π
π ARGUMENTS π
Shishi * handleβ the shishi handle, allocated byshishi_init(). this is your main character, the one who runs the whole operation π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 gossip gets stored" πShishi_tkt * tktβ the ticket to set in the newly created AP. the ticket!! the moment!! ποΈint optionsβ the AP-REQ options to set in the newly created AP. β¨Shishi_asn1 nodeβ the input ASN.1 structure to store as authenticator checksum data. yes, ASN.1, we love a structured queen πconst char * fieldβ the field in the ASN.1 structure to use. π¦int authenticatorcksumkeyusageβ the key usage for the checksum in the authenticator. (yes, "cksum", that's the actual spelling, don't come for me π)int authenticatorkeyusageβ the key usage for the authenticator. periodt. π
π§ DESCRIPTION π§
okay so here's what actually goes down:
Create a new AP exchange using shishi_ap(), and set ticket, options and authenticator checksum data from the DER encoding of the ASN.1 field using shishi_ap_set_tktoptionsasn1usage(). π οΈ
A random session key is added to the authenticator, using the same keytype as the ticket. π random! session key! same keytype as the ticket! it's giving consistency, it's giving security, it's giving slay.
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's it, that's the return, and honestly we love a function that just tells you it went fine π
π REPORTING BUGS π
found a bug? not the vibe, but okay, 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. fr fr, that's the actual license situation, go off πβ¨
π 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 ππ
and that's the page bestie!! this one comes to you from shishi 1.0.3, manual section 3, and yeah the whole thing is shishi_ap_tktoptionsasn1usage(3) β you understood it, you ate, no crumbs left ππ¦π
π¦ 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