shisa_key_add(3)
π shisa_key_add β the shishi manual, bestie edition π
okay so welcome to the shisa_key_add(3) page, part of the shishi family of man pages π¦ pull up a chair, we're adding keys today and it's gonna be iconic.
β¨ NAME β¨
shisa_key_add β literally just an API function, that's the whole name, no notes π
πΈ SYNOPSIS πΈ
#include <shisa.h>
int shisa_key_add(Shisa * dbh, const char * realm, const char *
principal, const Shisa_key * key);
yes bestie, that's the signature, copy it exactly, don't freestyle it π
π ARGUMENTS π
Shisa * dbhβ the Shisa library handle, and you get it fromshisa(). it's giving "your all-access pass to the database" energy πconst char * realmβ the name of the realm the principal lives in. where they belong, their little home realm πconst char * principalβ the name of the principal you're adding a brand new key for ποΈconst Shisa_key * keyβ a pointer to aShisa_keystructure holding the new key. yes it's a pointer, yes you need it π«Ά
π DESCRIPTION π
so what this does is: it adds a complete key, key, to the database entry that belongs to the principal PRINCIPAL@REALM β and that principal is set by principal and realm. that's it. that's the whole vibe. key goes in, database entry gets a glow-up β¨
π RETURN VALUE π
returns SHISA_OK if it worked, or an error code if it did not. that's the whole deal, no cap π
π REPORTING BUGS π
found a bug? don't suffer in silence, bestie, report it 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 means you can share it, just keep the notice. slay, ethically β¨)
π₯ SEE ALSO π₯
the full documentation for shishi is maintained as a Texinfo manual π and 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 π
and that's the page, bestie!! this was shishi version 1.0.3, page shisa_key_add(3), and it's been a whole journey. go add those keys. periodt. πππ¦
π¦ where this page comes from
- debian bookworm: libshisa-dev 1.0.3-1+b1 Β· GPL-3.0-or-later
- debian trixie: libshisa-dev 1.0.3-5+b1 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: libshisa-dev 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: libshisa-dev 1.0.3-5
- ubuntu resolute: libshisa-dev 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: libshisa-dev 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