Apps using gnutls log error on kernel 5.12 if built with AF_ALG
Just took gnutls 3.7.2 with --enable-afalg
for a spin and there seems to be a usability problem. Application started to log cryptic error:
libkcapi - Error: AF_ALG: bind failed (errno: -2)
Few remarks:
- error is harmless since it's about missing cipher in kernel, namely salsa20 which was dropped in kernel 5.12
- preferably error should be logged only with verbose mode, but unfortunately libkcapi does not seem to allow it
- even in verbose mode it would be good if error had some additional info ie that it's salsa20 cipher which failed initialization
Edited by Jan Palus