shishi_priv_priv_der_set(3)
π shishi_priv_priv_der_set(3) β the "here's your DER, bestie" function π
okay so picture this: you're deep in the shishi manual (that's the GNU one, the Kerberos bestie), and you've stumbled onto a little function that hands a blob of DER-encoded KRB-PRIV over to your Shishi_priv struct. iconic behaviour, honestly. let's get into it π«Ά
β¨ NAME β¨
shishi_priv_priv_der_set β it's an API function, and it's giving "set the priv from DER" energy π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_priv_priv_der_set(Shishi_priv * priv, char * der, size_t
derlen);
π ARGUMENTS π
Shishi_priv * privβ your priv, as allocated byshishi_priv(). it's the whole point, bestie, don't pass a random one πchar * derβ an input array holding a DER encoded KRB-PRIV. yes literally, that's the payload π¦size_t derlenβ the length of that input array with the DER encoded KRB-PRIV. gotta tell it how many bytes, no cap β¨
π₯ DESCRIPTION π₯
so what it does: it DER decodes the KRB-PRIV and sets it into the PRIV exchange. that's the whole vibe. π
β οΈ real talk though β if the decoding fails, the KRB-PRIV that's already in the PRIV exchange stays there. it does not get wiped, it does not get replaced, it just chills. so don't go assuming a failed call left you with an empty struct, because it did NOT, and that's on periodt π
π RETURN VALUE π
returns SHISHI_OK. that's it. that's the return. slay π
π REPORTING BUGS π
found something cursed? 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.
π 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 lowkey a good time π
and that's the whole page, bestie!! this one's from shishi 1.0.3, section shishi_priv_priv_der_set(3) β go forth and set those DERs 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