shishi_keys_to_keytab_mem(3)
π shishi_keys_to_keytab_mem π
okay bestie, welcome to the shishi section 3 manual, page shishi_keys_to_keytab_mem(3). this one is a whole little API function and she is serving, so grab a strawberry and let's get into it πβ¨
πΈ NAME πΈ
shishi_keys_to_keytab_mem β literally just an API function, that's her whole job title π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_keys_to_keytab_mem(Shishi * handle, Shishi_keys * keys, char
** out, size_t * len);
no cap, that's the whole incantation. say it with your chest π«Ά
π ARGUMENTS π
Shishi * handleβ the shishi handle, bestie. you get one fromshishi_init()and you do not just make one up, ok?Shishi_keys * keysβ the key set that's getting converted into keytab format. she's the main character of this whole operation πchar ** outβ a constant memory buffer holding the keytab, and it'slenbytes big. yes, constant. hands off πsize_t * lenβ the size of that memory buffer with the keytab data in it. the receipts, the measurements, the vibe check π
π¦ DESCRIPTION π¦
so what she does is write keys into a MIT keytab data structure. that's it, that's the gig β¨
now here's the tea, and it's kind of important: the format of keytabs is proprietary. like, not public. not ours. and this function writes the 0x0502 format specifically β that's the one, no substitutions π₯
if you want the full lore, go read the section The MIT Kerberos Keytab Binary File Format in the Shishi manual, where the reverse-engineered format is described in all its unhinged glory. iykyk π
π RETURNS π
- on success? you get
SHISHI_OKback. slay π - otherwise you get an error code. not slay. π
β SINCE β
0.0.42 β she's been around a minute, an elder actually π«Ά
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the people:
- 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/
π§ COPYRIGHT π§
Copyright Β© 2002-2022 Simon Josefsson.
and the license, verbatim, because we respect the paperwork: 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. periodt. π
π SEE ALSO π
the full documentation for shishi is maintained as a Texinfo manual β the whole thing, all of it, not a summary. and if the info and shishi programs are properly installed at your site, then this command
info shishi
should give you access to the complete manual. go off, read the docs, be informed πΈ
okay that's the whole page bestie, you ate that π this was shishi version 1.0.3 talking about shishi_keys_to_keytab_mem(3), and honestly? iconic. bye pookie, go write some keytabs πβ¨π¦
π¦ 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