[gnutls-help] gnutls-serv, PSK and documentation

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Feb 28 19:39:00 CET 2014


On 02/28/2014 04:38 PM, Manuel Pégourié-Gonnard wrote:
> Hi,
> 
> The man page for gnutls-serv (3.2.11) says:
> 
>        Let's also start a server with support for PSK. This would require a
>        password file created with psktool.
> 
>            gnutls-serv --http             --pskpasswd psk-passwd.txt
> 
> When I tried exactly that, I was unable to connect with a client offering only
> PSK ciphersuites. To make it work, I had to explicitly enable the PSK key
> exchange(s) using the --priority option.
> It's no big deal, but I feel like the Examples section in the man page
should
> mention this, so that running exactly the command as printed works as
expected.
> I didn't test with anything else than PSK, but this may hold for other key
> exchanges that aren't in NORMAL too, like SRP.

Thanks, I've updated the documentation. It was much older than the
implementation.

regards,
Nikos




More information about the Gnutls-help mailing list