shishi_authenticator_set_subkey(3)
π shishi_authenticator_set_subkey β like, the manual page, bestie π
okay so this is a page from the shishi manual set, and it's the one all about shishi_authenticator_set_subkey(3). yes it's an API function, yes it's a whole vibe, let's go π«Ά
β¨ NAME β¨
shishi_authenticator_set_subkey β it's an API function, bestie. that's the whole name. iconic.
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_authenticator_set_subkey(Shishi * handle, Shishi_asn1
authenticator, int32_t subkeytype, const char * subkey, size_t
subkeylen);
π ARGUMENTS π
Shishi * handleβ the shishi handle, the one you got fromshishi_init(). you gotta have one, no skipping.Shishi_asn1 authenticatorβ the authenticator itself, as allocated byshishi_authenticator(). that's the thing we're decorating β¨int32_t subkeytypeβ the input subkey type you wanna store in the authenticator. tell it what flavor of subkey this is.const char * subkeyβ the actual input subkey data you're storing in the authenticator. the real one. the main character.size_t subkeylenβ the size of that input subkey data you're storing. how many bytes, babe, gotta say.
π DESCRIPTION π
so what it does is: it stores a subkey value in the authenticator. that's it, that's the job. π
ngl, a subkey is usually created by calling shishi_key_random() using the default encryption type of the key from the ticket that's being used. iykyk.
and listen β if you wanna save time, you might wanna use shishi_authenticator_add_subkey() instead, because that one calculates the subkey and calls this function, all in one step. two birds, one slay π₯
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's the good ending, periodt.
π REPORTING BUGS π
found a bug? spill. report bugs 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. (yes that's the actual license text, i'm not paraphrasing legal stuff, bestie, that's a whole crime π)
π¦ 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. go read it, it's giving encyclopedia but make it kerberos π
and that's the whole page!! this was shishi version 1.0.3, from the shishi_authenticator_set_subkey(3) era β mwah, no notes, bye bestie πβ¨
π¦ 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