shishi_ap_key(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_ap_key ✨

okay bestie, so this is a page from the shishi manual β€” manual section 3, the library-call zone πŸ’… β€” and today's main character is a lil function called shishi_ap_key. she's small, she's useful, she does exactly one thing and she ate. πŸŽ€


🌸 NAME 🌸

shishi_ap_key β€” API function

like. that's it. that's the name. it's an API function, she said what she said. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

Shishi_key * shishi_ap_key(Shishi_ap * ap);

so you pull in <shishi.h> and then boom, you get a Shishi_key * back when you hand her a Shishi_ap *. it's giving "give me the thing, I'll give you the thing." 🫢


🌈 ARGUMENTS 🌈

  • Shishi_ap * ap β€” this is the structure that holds information about the AP exchange. like, all the deets about the AP exchange live in here. she's the whole vibe container. πŸ‘‘

πŸ’« DESCRIPTION πŸ’«

so what she actually does: she extracts the application key from ap. simple. iconic. no drama.

but here's the tea β˜• β€” if subkeys are used, the application key is taken from the Authenticator. otherwise (no subkeys, no problem), the session key is used instead. two paths, one function, she's flexible like that. πŸ’…


πŸ”₯ RETURN VALUE πŸ”₯

she returns the application key from ap. that's the whole return value. she's not cryptic, she's not doing a little mystery. key. from AP. periodt. πŸ’–


😭 REPORTING BUGS 😭

found a bug? don't suffer in silence bestie, tell the people:

fr fr, they wanna know. πŸ™ˆ


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.

(translation: you may copy and share this file, modified or not, in any medium, no royalty needed β€” just keep the copyright notice and this notice. slay, very generous, we love that for us. πŸŽ€)


🌟 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, this command:

info shishi

should give you access to the complete manual. go read the whole thing, she's got lore. 🧚


ngl if you made it this far you're lowkey a Unix girlie now. main character energy confirmed. πŸ’œ

and that's the whole page bestie β€” this one shipped as part of shishi version 1.0.3, on the shishi_ap_key(3) manual page. k bye, go call the function. πŸ’–βœ¨