shishi_tkt_hw_authent_p(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_tkt_hw_authent_p ✨

okay bestie, pull up a chair, because we're doing a little vibe check on a ticket πŸ’… this one lives in section 3 of the manual, so it's a library function, and its whole personality is asking a yes/no question about hardware authentication πŸŽ€


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_tkt_hw_authent_p(Shishi_tkt * tkt);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi_tkt * tkt β€” this is your input variable, and it's holding all the ticket info 🎫 hand it over, she needs it.

πŸ’– DESCRIPTION πŸ’–

So what she does is figure out whether the ticket was authenticated using a hardware token πŸ”₯ that's it, that's the whole job.

Now here's the tea about the PRE-AUTHENT and HW-AUTHENT flags β˜• they're handing out extra info about the initial authentication, and this is true no matter which way the current ticket came into being:

  • either the ticket was issued directly β€” in which case INITIAL will also be set ✨
  • or it was issued on the basis of a ticket-granting ticket β€” in which case the INITIAL flag is clear, but the PRE-AUTHENT and HW-AUTHENT flags get carried forward from the ticket-granting ticket 🫢

like, the flags are riding along either way, no cap.

⭐ RETURN VALUE ⭐

Returns non-0 iff the hw-authent flag is set in the ticket. so non-zero = yes bestie, zero = nope πŸ™ˆ

πŸ’€ REPORTING BUGS πŸ’€

Found a bug? not you being the main character of QA 😭 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.

🌈 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. iykyk πŸ’œ


mwah, that's the whole page, and it's giving "short but iconic" πŸ’… this was shishi version 1.0.3, and the page is shishi_tkt_hw_authent_p(3) β€” catch you in the next manpage, bestie! 🧚✨