shishi_keys_add_keytab_file(3)
π shishi_keys_add_keytab_file(3) π
okay bestie, welcome to the shishi manual β this page lives in section 3, it's a lil API function, and it's here to help you slurp keys out of a keytab file and yeet them into a key set. no cap. let's go β¨
πΈ NAME πΈ
shishi_keys_add_keytab_file β literally just an API function, that's the whole name, she's lowkey mysterious like that π
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_keys_add_keytab_file(Shishi * handle, const char * filename,
Shishi_keys * keys);
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the main character here, everything runs through her β¨const char * filenameβ the name of the file you wanna read. yes, the actual filename, go off ποΈShishi_keys * keysβ an already-allocated key set, aka the lil basket where the keys are gonna get stored. she's pre-made, don't forget to allocate her first π§Ί
π DESCRIPTION π
so basically? you read keys out of a MIT keytab data structure sitting in a file, and then you add those keys into the key set. that's it. that's the whole vibe. π«Ά
the tea on keytab formats: the format is proprietary π but this function supports the 0x0501 and 0x0502 formats, so you're covered for those two. if you wanna know how the reverse-engineered format actually works, go read the section The MIT Kerberos Keytab Binary File Format in the Shishi manual. it's giving detective work, iykyk π
β RETURNS β
- returns
SHISHI_IO_ERRORif the file cannot be read π (like, the file said "not today") - returns
SHISHI_KEYTAB_ERRORif the data cannot be parsed as a valid keytab structure π (she's not shaped like a keytab, bestie) - and
SHISHI_OKon success π periodt
π REPORTING BUGS π
found a bug? do NOT suffer in silence, tell the people fr fr. 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.
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, that's a very chill license ngl πΈ
π 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, then this command:
info shishi
should give you access to the complete manual. iconic behavior, honestly π
and that's the whole page, bestie!! this was shishi_keys_add_keytab_file(3) from the shishi manual, version 1.0.3. mwah, go read 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