https://bugs.exim.org/show_bug.cgi?id=3116
Andreas Metzler <eximusers@???> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|cras |crash on unreadable dkim
| |private key
--- Comment #1 from Andreas Metzler <eximusers@???> ---
This was reported on Debian by Germano Leichsenring:
I've followed upstream instructions to setup DKIM.
https://exim.org/exim-html-4.93/doc/html/spec_html/ch-dkim_spf_and_dmarc.html
Note, the command below creates the private key file with permissions 600.
$ openssl genpkey -algorithm ed25519 -out dkim_ed25519.private
* What was the outcome of this action?
Accordingly, exim4 process crashed and left a stacktrace in the paniclog.
2024-09-28 10:33:46 1suML0-00000001hFO-444S SIGSEGV (fault address:
0x55fac168b1d0)
2024-09-28 10:33:46 1suML0-00000001hFO-444S SEGV_ACCERR
2024-09-28 10:33:46 1suML0-00000001hFO-444S SIGSEGV (maybe attempt to write to
immutable memory)
)
2024-09-28 10:33:46 1suML0-00000001hFO-444S backtrace
2024-09-28 10:33:46 1suML0-00000001hFO-444S ---
2024-09-28 10:33:46 1suML0-00000001hFO-444S /usr/sbin/exim4(+0x5b1cd)
[0x55faaf6381cd]
2024-09-28 10:33:46 1suML0-00000001hFO-444S /usr/sbin/exim4(+0x5b394)
[0x55faaf638394]
2024-09-28 10:33:46 1suML0-00000001hFO-444S
/lib/x86_64-linux-gnu/libc.so.6(+0x3f5d0) [0x7f34f66545d0]
2024-09-28 10:33:46 1suML0-00000001hFO-444S /usr/sbin/exim4(+0x72f6a)
[0x55faaf64ff6a]
2024-09-28 10:33:46 1suML0-00000001hFO-444S /usr/sbin/exim4(+0x739e4)
[0x55faaf6509e4]
After looking at the faulty line (dkim.c:745) I've realized that the file was
not readable.
--
You are receiving this mail because:
You are on the CC list for the bug.
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/