SHISHI_X509KEY_DEFAULT_FILE_GUESS(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_x509key_default_file_guess(3) ✨

okay bestie, pull up a chair πŸŽ€ this one lives in the shishi manual (section 3, the library-call section, iykyk) and it's a whole little glow-up for your X.509 key situation. it's giving "where did I put my keys" but make it C. πŸ’…


🌸 NAME 🌸

shishi_x509key_default_file_guess β€” an API function, and yes she does exactly what her name says πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

char * shishi_x509key_default_file_guess(Shishi * handle);

πŸ’– ARGUMENTS πŸ’–

  • Shishi * handle β€” the Shishi library handle, the one you create with shishi_init(). she's your main character, don't lose her 🫢

✨ DESCRIPTION ✨

so like, this function guesses the default filename for your X.509 client key πŸ‘‘

and the guess? it's literally:

$HOME/.shishi/client.key

that's the vibe. that's the whole guess. no cap. 🌈


πŸ’œ RETURN VALUE πŸ’œ

she hands you back the default X.509 client key filename as a string πŸ’«

⚠️ but listen β€” that string is yours now. you have to deallocate it with free() yourself, because the caller owns it. not me, not shishi, you. don't ghost it, bestie, free your memory 😭

πŸ“ REPORTING BUGS πŸ“

found something cursed? report bugs 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. iconic, honestly. periodt. πŸ’…


πŸ”₯ 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, then this command:

info shishi

should give you access to the complete manual. go read it, it's a whole saga 🧚


and that's the tea, bestie 🌸 this was the shishi manual, version 1.0.3, and yeah she's an old soul β€” file dates and version vibes live in the footer, but we're keeping it cute up here. mwah πŸ’–βœ¨