shishi_authenticator_get_subkey(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

✨ NAME ✨

shishi_authenticator_get_subkey β€” bestie, this is an API function and it's about to hand you a subkey πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_authenticator_get_subkey(Shishi * handle, Shishi_asn1
authenticator, Shishi_key ** subkey);

πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). Like, the whole vibe starts here, no handle no party 🫢
  • Shishi_asn1 authenticator β€” the authenticator you already made with shishi_authenticator(). This is the thing we're digging through, okurrr ✨
  • Shishi_key ** subkey β€” output param, bestie! It gets pointed at a newly allocated subkey pulled out of the authenticator. Fresh out the box, brand new, main character energy πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

Okay so literally all this does: it reads the subkey value out of the authenticator. That's it. That's the function. Read subkey, from authenticator, done. Iconic behaviour honestly πŸ¦‹


⭐ RETURN VALUE ⭐

  • Returns SHISHI_OK if everything went slay πŸ’–
  • Returns SHISHI_ASN1_NO_ELEMENT if the subkey is not present β€” so like, don't panic, it just wasn't there 😭

🌈 REPORTING BUGS 🌈

Found a bug? Not me gatekeeping β€” go tell the devs fr fr:


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. iykyk πŸ“–βœ¨


That's the whole page, bestie β€” shishi version 1.0.3, and yes the manpage section is shishi_authenticator_get_subkey(3), mwah πŸ’œπŸ’