shishi_priv_build(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_priv_build β€” straight from the shishi manual, section 3 πŸŽ€

okay bestie, gather round, because this one is short but she is mighty. it's giving "small function, big responsibilities" energy. let's go πŸ’–


✨ NAME ✨

shishi_priv_build β€” an API function, babes. that's the whole name. no notes. 🫢


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_priv_build(Shishi_priv * priv, Shishi_key * key);

look at her. two arguments, one int return, absolutely no drama. iconic. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi_priv * priv β€” the priv, but like… the one you already allocated with shishi_priv(). don't be out here making your own, use the function, fr fr. πŸ™ˆ
  • Shishi_key * key β€” the key for the session, and yes she's the one doing the actual encrypting of the data. main character energy, honestly. πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

so what does she do. she builds the checksum and sets it right into the KRB-PRIV. that's it. that's the job. slay.

⚠️ important lore alert: this follows RFC 1510bis and is incompatible with RFC 1510. yes, literally incompatible. the manpage says "although presumably few implementations use the RFC1510 algorithm" so like… lowkey you're probably fine, but bestie, we do NOT guess at this stuff. it's right there in the text. πŸ’€

🌈 RETURN VALUE 🌈

returns SHISHI_OK iff successful. and only iff. no cap. ⭐


πŸŽ€ REPORTING BUGS πŸŽ€

found a bug? not me being the bearer of bad news but… go tell the devs. report bugs to <bug-shishi@gnu.org>.

they wanna hear from you, periodt. πŸ“


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.

(so like, take her, share her, remix her β€” just keep the receipts. respect the queen. πŸ‘‘)


πŸ’– 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 β€” go read it, it's a whole vibe. 🌸


and that's the page bestie!! 🫢 this was shishi_priv_build(3) from shishi 1.0.3 β€” literally wrote it, ate it up, left no crumbs. mwah πŸ’‹βœ¨