shishi_kdcreq_get_padata_tgs(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_kdcreq_get_padata_tgs β€” from the shishi manual (section 3) πŸ’–

okay bestie, buckle up, we're doing the NAME section but make it cute πŸŽ€

✨ NAME ✨

shishi_kdcreq_get_padata_tgs β€” it's an API function, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_kdcreq_get_padata_tgs(Shishi * handle, Shishi_asn1 kdcreq,
       Shishi_asn1 * apreq);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). no handle, no service, periodt πŸ’œ
  • Shishi_asn1 kdcreq β€” the KDC-REQ you're pulling PA-TGS-REQ out of. she's the source, the main character of this call πŸ‘‘
  • Shishi_asn1 * apreq β€” output variable, and it gets a newly allocated AP-REQ. fresh out the box, brand new, not recycled ✨

🌈 DESCRIPTION 🌈

So here's the tea β˜• β€” this function extracts the TGS pre-authentication data from a KDC-REQ. And what is that data? It's an AP-REQ, and it's the thing that authenticates the request. like, it's the little "hey it's me, for real" envelope 🫢

Under the hood (iykyk), it calls shishi_kdcreq_get_padata() with a SHISHI_PA_TGS_REQ padatatype, and then DER decodes the result β€” if any, okay, so no result means nothing to decode, don't come for me 😭


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. that's it, that's the whole check πŸ’―


πŸ’€ REPORTING BUGS πŸ’€

Found a bug? not me being the bearer of bad news, but report it to <bug-shishi@gnu.org> πŸ™ˆ


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. slay, that's a genuinely generous license fr fr πŸ’–


πŸ”₯ 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, the whole entire manual, all of it, go read it bestie πŸ“šβœ¨


ngl if info shishi isn't giving, your install might be giving nothing at all β€” go check that the info and shishi programs are properly installed at your site πŸ’…

and that's a wrap!! this page is from shishi version 1.0.3 🌸 thanks for reading, mwah, bye πŸ«ΆπŸ’œ