commit d43e9a6cb68c20d02646936db633e89699f393de
parent 70f1ba0b221ef63ec49c3056310e469d4d382dfa
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 29 Jul 2026 17:12:28 +0200
document new minimum PSK requirement
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
@@ -931,6 +931,8 @@ Pass a pointer to callback of type
@code{MHD_PskServerCredentialsCallback} and a closure.
The function will be called to
retrieve the shared key for a given username.
+The key must be at least 16 bytes long, as required by RFC 4279
+section 7.1; MHD fails the authentication for a shorter one.
@item MHD_OPTION_DIGEST_AUTH_RANDOM
@cindex digest auth