From d43e9a6cb68c20d02646936db633e89699f393de Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 29 Jul 2026 17:12:28 +0200 Subject: [PATCH] document new minimum PSK requirement --- doc/libmicrohttpd.texi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi index c0e32673..e513582a 100644 --- 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