shishi_authenticator_subkey(3)
π shishi_authenticator_subkey π
okay bestie, welcome to the shishi manual, section 3 (that's the library-functions girlypop section, iykyk), and today's main character is shishi_authenticator_subkey. it's an API function β¨. yes, literally just that. she's a builder, she's a little factory, and she's about to hand you a whole Authenticator. let's get into it π
πΈ SYNOPSIS πΈ
#include <shishi.h>
Shishi_asn1 shishi_authenticator_subkey(Shishi * handle);
one header, one function, zero drama. slay.
π¦ ARGUMENTS π¦
Shishi * handleβ the shishi handle, bestie. the one you got handed to you when you calledshishi_init(). no handle, no party π
β¨ DESCRIPTION β¨
so here's the vibe: this function creates a new Authenticator, and she comes pre-populated with some default values, like she got dressed before you even asked π«Ά
for the ctime and cusec fields, she uses the current time as returned by the system. so yes, it's giving "right now", not "whenever you feel like it".
and then β the part the function is literally named after β she adds a random subkey. random!! π² no cap.
π RETURN VALUE π
returns the authenticator, or NULL on failure π
so like, fr fr, check forNULL. don't be out here using aNULLauthenticator and then acting surprised. the vibes will NOT be immaculate.
π REPORTING BUGS π
found a bug? don't gatekeep, tell the devs:
- bugs go 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/π
π 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. iconic behavior honestly, we love a permissive queen π
π₯ 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. periodt. π
and that's the whole page, bestie!! this little gem lives in shishi, version 1.0.3 β go forth and build authenticators, and remember: the subkey is random, the time is now, and the NULL check is non-negotiable. mwah πππ¦
π¦ 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