[Bug 1199881] [Build 20220523] gnutls: Error while performing self checks.
https://bugzilla.suse.com/show_bug.cgi?id=1199881 https://bugzilla.suse.com/show_bug.cgi?id=1199881#c5 --- Comment #5 from Fabian Vogt <fvogt@suse.com> --- (In reply to Pedro Monreal Gonzalez from comment #4)
OK, thanks! I still can't see why it fails. Could the test be run with GNUTLS_DEBUG_LEVEL=5 ?
This is the culprit, running with strace -fefile to see the path it tried to access: gnutls[2]: DRBG-AES self test succeeded openat(AT_FDCWD, "/lib64/.gnutls.hmac", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib64/fipscheck/.gnutls.hmac", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) gnutls[3]: ASSERT: fips.c[load_hmac_file]:318 gnutls[2]: Could not load hmac file: Error while reading file. gnutls[3]: ASSERT: fips.c[_gnutls_fips_perform_self_checks2]:592 gnutls[1]: FIPS140-2 self testing part 2 failed gnutls[3]: ASSERT: global.c[_gnutls_global_init]:367 Apparently the way the .hmac is stored was totally changed upstream in commit https://gitlab.com/gnutls/gnutls/-/commit/a86c8e87189e23920ae622da5e572cb4e1.... IMO this change is bad, as it means that multiple library versions own the same file, which is not compatible with shared library packaging. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com