gsasl_server_callback_cipher_set(3)
β¨ NAME β¨
gsasl_server_callback_cipher_set β bestie, this is an API function π
It lives in the gsasl manual (that's the manual name, mwah π), so if you ever see gsasl_server_callback_cipher_set(3) floating around, that's just this page being iconic.
πΈ SYNOPSIS πΈ
#include <gsasl.h>
void gsasl_server_callback_cipher_set(Gsasl * ctx,
Gsasl_server_callback_cipher cb);
π¦ ARGUMENTS π¦
Gsasl * ctxβ your libgsasl handle. it's giving "the thing you pass to literally everything" β¨Gsasl_server_callback_cipher cbβ the callback function itself. yes queen, hand it over π«Ά
π DESCRIPTION π
Okay so listen. You're on the server side, right? And you need to tell the client which cipher suites you support. That's literally what this does β it specifies the callback function to use in the server to inform the client of the cipher suites supported. no cap. π₯
Two things you genuinely cannot skip: the DES and 3DES ciphers must be supported for interoperability. that's not a vibe, that's a requirement π
Also, it's currently used by the DIGEST-MD5 mechanism. Just that one, for now.
And the cute part? You can get this function back later using gsasl_server_callback_cipher_get(). set it, get it, slay π
β οΈ DEPRECATED β οΈ
not me having to break this to you π this function is part of the old callback interface. it's the legacy era, the vintage collection, the archive.
The new interface uses gsasl_callback_set() to set the application callback, and uses gsasl_callback() or gsasl_property_get() to invoke the callback for certain properties. that's the glow-up. use those instead, bestie π
π REPORTING BUGS π
Found a bug? (rude of it, honestly.) Report bugs to <bug-gsasl@gnu.org>. π«Ά
General guidelines for reporting bugs: http://www.gnu.org/gethelp/
GNU SASL home page: http://www.gnu.org/software/gsasl/
π COPYRIGHT π
Copyright Β© 2002-2021 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. periodt. π
π SEE ALSO π
The full documentation for gsasl is maintained as a Texinfo manual. If the info and gsasl programs are properly installed at your site, the command
info gsasl
should give you access to the complete manual. As an alternative you may obtain the manual from:
http://www.gnu.org/software/gsasl/manual/
and that's the whole page, bestie π§ this was the gsasl manual, version 1.10.0, page gsasl_server_callback_cipher_set(3) β go forth and set your callbacks responsibly ππΈβ¨
π¦ where this page comes from
- ubuntu jammy: libgsasl-dev 1.10.0-5 Β· 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