shishi_keys_to_keytab_file(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– shishi_keys_to_keytab_file(3) β€” the shishi manual, bestie edition πŸ’–

okay so you found the shishi_keys_to_keytab_file(3) page in the shishi manual?? slay. sit down, grab a boba, and let me tell you about the little function that takes your keys and dumps them into a keytab file. it's giving file-writing main character energy ✨


✨ NAME ✨

shishi_keys_to_keytab_file β€” API function 🫢


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_keys_to_keytab_file(Shishi * handle, Shishi_keys * keys,
const char * filename);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” the shishi handle, and like… you gotta have one. you get it from shishi_init(), bestie, no handle no party.
  • Shishi_keys * keys β€” the keyset you wanna write out. the whole lil bundle of keys. πŸ’œ
  • const char * filename β€” the name of the file you're writing to. yes, the actual file name. iconic.

πŸ¦‹ DESCRIPTION πŸ¦‹

so what it does: it writes your keys into a MIT keytab data structure. that's the whole vibe. πŸ’…

now the tea: the format of keytabs is proprietary 😭 β€” not open, not free, not ours. but this function writes the 0x0502 format, and if you wanna know exactly what that looks like, go read the section The MIT Kerberos Keytab Binary File Format in the Shishi manual, where the format got reverse-engineered and documented for us. iykyk 🧚


πŸ’€ RETURNS πŸ’€

  • SHISHI_FOPEN_ERROR β€” if there's a problem opening filename for writing πŸ™ˆ
  • SHISHI_IO_ERROR β€” if there's a problem writing the file 😭
  • SHISHI_OK β€” on success. we love to see it. πŸ‘‘

⭐ SINCE ⭐

0.0.42 β€” a classic, honestly. been here since forever.


πŸ› REPORTING BUGS πŸ›

found a bug? don't be shy, 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 Β© 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.

no cap, that's the actual license text, keep it around if you copy this. πŸ’–

🌈 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 lore. πŸ“š


and that's the page, bestie!! this is from shishi version 1.0.3, page shishi_keys_to_keytab_file(3) β€” mwah, take care of your keys, and stream responsibly. πŸŽ€βœ¨πŸ’