shishi_kdcreq_to_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_kdcreq_to_file β€” the shishi manual, bestie edition πŸ’–

okay so we're in section 3 of the shishi manual, and today's main character is shishi_kdcreq_to_file. no cap, it's literally just "save ur KDC-REQ to a file" energy and honestly? iconic. πŸŽ€


✨ NAME ✨

shishi_kdcreq_to_file β€” an API function 🫢


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_kdcreq_to_file(Shishi * handle, Shishi_asn1 kdcreq, int
       filetype, const char * filename);

like, that's the whole vibe. four args, one int coming back at you. periodt. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, bestie, as allocated by shishi_init(). you can't just make one up, she needs to be born properly. πŸ’–
  • Shishi_asn1 kdcreq β€” the KDC-REQ you wanna save. this is the star of the show, the main character, the whole point. πŸ‘‘
  • int filetype β€” input variable saying what type of file we're writing. go look at Shishi_filetype for the tea on which types exist. πŸ”₯
  • const char * filename β€” input variable with the filename you're writing to. yes queen, pick a name. πŸŽ€

🌈 DESCRIPTION 🌈

Write the KDC-REQ to a file in the specified TYPE. that's it, that's the function.

⚠️ lowkey important: the file will be truncated if it already exists. so if there was stuff in there before? it's gone. bye. πŸ’€

⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. that's the only answer we're accepting, fr fr. 🫢


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not me being the bearer of bad news, but pls report it to <bug-shishi@gnu.org>.

we love a paper trail. πŸ’œ


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.

(translation: keep the receipt, bestie. 🧚)


πŸ’… 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 whole page, babe β€” this was shishi_kdcreq_to_file(3) from shishi version 1.0.3, and yes it's giving "i know my way around a Kerberos library" main character energy. go forth and write those files. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά