shishi_kdcrep_parse(3)
π shishi_kdcrep_parse(3) β the shishi manual, bestie edition π
okay so welcome to the shishi section 3 page for shishi_kdcrep_parse, and honestly? she's a little icon. short, sweet, does exactly one thing. let's get into it π
β¨ NAME β¨
shishi_kdcrep_parse β an API function, and yes that's the whole name, she doesn't need a long one π
π SYNOPSIS π
#include <shishi.h>
int shishi_kdcrep_parse(Shishi * handle, FILE * fh, Shishi_asn1 *
kdcrep);
like. look at her. three args, one return, no drama πΈ
π¦ ARGUMENTS π¦
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the main character here, don't show up without her πFILE * fhβ a file handle, and it has to be open for reading. reading only, bestie. don't be weird about it πShishi_asn1 * kdcrepβ this is your output variable, and it comes pre-loaded with a freshly allocated KDC-REP. it's giving "here's your brand new thing, go be great" β¨
π DESCRIPTION π
so what she actually does: she reads an ASCII armored DER encoded KDC-REP out of the file, and then she populates the variable you handed her with it. that's it. that's the whole vibe. read the file β fill the variable β slay π
β RETURN VALUE β
returns SHISHI_OK iff successful. and listen, iff is doing a lot of work in that sentence β it's an "if and only if" situation, so if you see SHISHI_OK, you ate. anything else? that's a you problem, not hers π
π«Ά REPORTING BUGS π«Ά
found a bug? don't just sit there spiraling, tell the people:
- 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/
no cap, they actually want to hear from you π
π 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. so yes, you may copy her. she's generous like that π
π₯ 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 the whole thing, there's lore π¦
lowkey reminder: she parsesKDC-REPspecifically, so don't come at her with random bytes and expect magic. theDERhas to beASCII armored. periodt π
and that's the page, bestie!! this was shishi version 1.0.3, page shishi_kdcrep_parse(3), brought to you by the shishi crew π go forth and parse 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