Opened 3 years ago
Closed 3 years ago
#16049 closed enhancement (fixed)
dovecot-2.3.18
Reported by: | Bruce Dubbs | Owned by: | Douglas R. Reno |
---|---|---|---|
Priority: | normal | Milestone: | 11.1 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
New point version.
Change History (5)
comment:1 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 3 years ago
We seem to have an OpenSSL-3 related problem here. On my development system (which runs OpenSSL-1.1), this failure is not present:
make[2]: Leaving directory '/sources/dovecot-2.3.18/dovecot-2.3.18/src/lib-ssl-iostream' Making check in lib-dcrypt make[2]: Entering directory '/sources/dovecot-2.3.18/dovecot-2.3.18/src/lib-dcrypt' make check-local make[3]: Entering directory '/sources/dovecot-2.3.18/dovecot-2.3.18/src/lib-dcrypt' for bin in test-crypto test-stream; do \ if ! /bin/sh ../../libtool execute /bin/sh ../../run-test.sh ../.. ./$bin; then exit 1; fi; \ done test_cipher_test_vectors ............................................. : ok test_cipher_aead_test_vectors ........................................ : ok test_hmac_test_vectors ............................................... : ok -- test_gen_and_get_info_rsa_pem ........................................ : ok test_get_info_rsa_private_key ........................................ : ok test_get_info_invalid_keys ........................................... : ok test_get_info_key_encrypted .......................................... : ok test_get_info_pw_encrypted ........................................... : ok test-crypto.c:827: Assert failed: ret == TRUE make[3]: Leaving directory '/sources/dovecot-2.3.18/dovecot-2.3.18/src/lib-dcrypt' make[2]: Leaving directory '/sources/dovecot-2.3.18/dovecot-2.3.18/src/lib-dcrypt' Making check in lib-dict make[2]: Entering directory '/sources/dovecot-2.3.18/dovecot-2.3.18/src/lib-dict' make check-local
However, on my OpenSSL-3 machine (seen above), we're getting an assertion failure, and I'm also unable to connect to Dovecot if it's running on that machine (assertion failure followed by crash).
I'm going to try the patch found in https://src.fedoraproject.org/rpms/dovecot/blob/rawhide/f/dovecot-2.3.14-opensslv3.patch first, since I suspect it's an issue with the deprecated EVP* functions in OpenSSL-3 which also carried behavior changes along with them.
comment:4 by , 3 years ago
test_get_info_key_encrypted .......................................... : ok test_get_info_pw_encrypted ........................................... : ok test-crypto.c:827: Assert failed: ret == TRUE Panic: file dcrypt-openssl.c: line 2639 (dcrypt_openssl_private_to_public_key): assertion failed: (priv_key != NULL && pub_key_r != NULL) Error: Raw backtrace: ./test-crypto() [0x45d3ed] -> ./test-crypto(backtrace_append+0x18) [0x45d578] -> ./test-crypto(backtrace_get+0x26) [0x45d5a0] -> ./test-crypto() [0x426d6c] -> ./test-crypto(default_fatal_handler+0) [0x426e3a] -> ./test-crypto(default_error_handler+0) [0x426e84] -> ./test-crypto(i_fatal+0) [0x42710e] -> .libs/libdcrypt_openssl.so(+0xd8e0) [0x485e8e0] -> ./test-crypto(dcrypt_key_convert_private_to_public+0x67) [0x41621e] -> ./test-crypto() [0x41f964] -> ./test-crypto() [0x421daf] -> ./test-crypto(test_run+0x1d) [0x42216b] -> ./test-crypto(main+0x72) [0x420fbb] -> /usr/lib/libc.so.6(+0x291ca) [0x48bb1ca] -> /usr/lib/libc.so.6(__libc_start_main+0x78) [0x48bb278] -> ./test-crypto(_start+0x21) [0x4138f1] ../../run-test.sh: line 39: 25135 Aborted (core dumped) /bin/valgrind -q $trace_children --error-exitcode=213 --leak-check=full --gen-suppressions=all --suppressions="$supp_path" --log-file=$test_out $noundef $* Failed to run: ./test-crypto make[3]: *** [Makefile:1136: check-local] Error 1 make[3]: Leaving directory '/sources/dovecot-2.3.18/dovecot-2.3.18/src/lib-dcrypt' make[2]: *** [Makefile:983: check-am] Error 2 make[2]: Target 'check' not remade because of errors.
Hmm, I wonder if this is Valgrind related. I'll try a suppression.
comment:5 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |