shishi_ap_rep_verify_der(3)
π shishi_ap_rep_verify_der β from the shishi manual, section 3 π
okay bestie, sit down, we're doing Kerberos-adjacent cryptography and honestly? it's giving β¨responsible adultβ¨. This one lives in the shishi manual, section 3, and it's about checking that somebody's AP-REP is legit.
β¨ NAME β¨
shishi_ap_rep_verify_der β it's an API function, babes. That's the whole vibe. API function.
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_ap_rep_verify_der(Shishi_ap * ap, char * der, size_t derlen);
like. look at her. three arguments, returns an int, no notes. π
π ARGUMENTS π
Shishi_ap * apβ this is the structure that holds all the info about the AP exchange. she's the main character, she holds the lore. πchar * derβ input array stuffed with a DER encoded AP-REP. raw bytes, no vibes, just data. πΈsize_t derlenβ the length of that input array with the DER encoded AP-REP. yes she needs to know how long it is, don't skip this one. π
π DESCRIPTION π
So here's the tea: this function DER decodes the AP-REP, sets it into the AP exchange using shishi_ap_rep_der_set(), and then verifies it using shishi_ap_rep_verify(). Three steps, one call, no cap. π«Ά
it's lowkey just a little wrapper doing the decode β set β verify pipeline for you so you don't have to do it yourself. iconic behaviour honestly.
π RETURN VALUE π
Returns SHISHI_OK, or SHISHI_APREP_VERIFY_FAILED, or just an error β like, an unspecified one, the mystery flavour. π
bestie if you get SHISHI_APREP_VERIFY_FAILED that means the verification did not pass. do not proceed. do not pass go. π¨
π REPORTING BUGS π
Found a bug? (not me manifesting one π) 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/
they're nice, they'll help you, fr fr. π«Ά
π 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.
(that's the license bestie, keep the notice, it's literally the rules β¨)
π 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.
like, all the lore is in there. go read it. πβ¨
and that's the whole page, bestie!! this was shishi version 1.0.3, page shishi_ap_rep_verify_der(3) β mwah, go verify some AP-REPs, you absolute legend ππ§ββοΈ
π¦ 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