shishi_priv_process(3)
π shishi_priv_process(3) β the glow-up edition π
okay bestie, welcome to section 3 of the shishi manual, where we handle library functions and the β¨cryptographicβ¨ side of life. this one's called shishi_priv_process, and no, it's not about your priv(ate) business, it's about KRB-PRIV. close enough tho π
πΈ NAME πΈ
shishi_priv_process β an API function, periodt. it does one job and it does it well π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_priv_process(Shishi_priv * priv, Shishi_key * key);
like, that's it. two args, one int back. lowkey elegant fr fr π¦
π«Ά ARGUMENTS π«Ά
Shishi_priv * privβ the priv thingy, and you gotta get it fromshishi_priv()first. it's not something you just manifest out of thin air, bestie πShishi_key * keyβ the key that's gonna do the decrypting of theEncPrivPart. this is the main character of the operation, no cap π
π DESCRIPTION π
so here's the vibe: this function decrypts the encrypted data inside a KRB-PRIV message, and then it sets the EncPrivPart in the PRIV exchange. that's the whole storyline, and honestly? iconic.
you bring the priv, you bring the key, it handles the rest. slay β¨
π RETURN VALUE π
it comes back with one of these, so listen up:
SHISHI_OKβ the good ending π success, we ate, no crumbsSHISHI_PRIV_BAD_KEYTYPEβ the key type you used is incompatible. wrong key, bestie, it's giving mismatch πSHISHI_CRYPTO_ERRORβ the actual decryption itself failed. not a vibe. not a slay. π
ok but real talk: check that return value. don't just assume it worked and move on, that's how you end up in the group chat asking why nothing works π
π REPORTING BUGS π
found a bug? first of all, rude, second of all, tell the devs:
- email: <bug-shishi@gnu.org>
- GNU Shishi home page: http://www.gnu.org/software/shishi/
- general help using GNU software: http://www.gnu.org/gethelp/
they genuinely wanna hear it, so don't be shy π«Ά
π COPYRIGHT π
Copyright Β© 2002-2022 Simon Josefsson.
and the licensing tea: 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, go off, just keep the receipts π§
π¦ SEE ALSO π¦
the full documentation for shishi lives in a Texinfo manual. if the info and shishi programs are properly installed at your site, this command:
info shishi
should give you access to the complete manual. iykyk πβ¨
ok that's the whole page bestie, you're officially educated π
shishi version 1.0.3, manual page shishi_priv_process(3) β mwah, go forth and decrypt responsibly πβ¨π
π¦ 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